21 Commits

Author SHA1 Message Date
Kaiwan N Billimoria
ea4b587f71 Makefile: strip: use the correct filename for the .ko (when other files are linked in) 2024-11-26 11:20:45 +05:30
Kaiwan N Billimoria
1eea58479e Makefile: prefix the include config directive with '-' to fail gracefully if reqd 2024-11-26 10:13:15 +05:30
Kaiwan N Billimoria
4e18793a8e Again, comments.. 2024-01-24 16:10:29 +05:30
Kaiwan N Billimoria
b4cb4aaa79 Refactor the module builds so that we link into the
klib.c/h files as well (so that we can invoke the
snprintf_lkp() wrapper that's defined therein)
2024-01-22 11:58:00 +05:30
Kaiwan N Billimoria
f67c30bbce for_each_process_thread() is better, from 6.6, than
the older do_each|while_each_thread() macros
2024-01-22 11:53:36 +05:30
Kaiwan N Billimoria
9fc7a22d8b Use our more secure (warn on overflow) snprintf_lkp() macro over snprintf() 2023-12-28 12:34:06 +05:30
Kaiwan N Billimoria
863dad163e Simply use task_{un]lock() for protection; we'll use RCU later 2023-11-19 14:01:16 +05:30
Kaiwan N Billimoria
62f8607cac Update Makefile; better comments in C source 2023-11-17 10:26:49 +05:30
Kaiwan N Billimoria
c3a6ca3243 Better comments 2023-11-16 11:47:53 +05:30
Kaiwan N Billimoria
4589308c5f comment 2023-11-07 12:43:24 +05:30
Kaiwan N Billimoria
6d61bc069c Use latest ver of the 'better' Makefile 2023-07-07 10:27:10 +05:30
Kaiwan N Billimoria
bf0cf32a6c better comments 2023-05-06 17:55:18 +05:30
Kaiwan N Billimoria
6c4d840035 better comments; var n scope reduction 2023-05-06 13:25:10 +05:30
Kaiwan N Billimoria
bb736bda86 don't call cond_resched() as within RCU section 2023-02-16 11:07:05 +05:30
Kaiwan N Billimoria
544511c2cf As with the Issue in LKD (https://github.com/PacktPublishing/Linux-Kernel-Debugging/issues/3#issue-1552507541);
rm the -Og from Makefile s
2023-01-24 18:09:59 +05:30
Kaiwan N Billimoria
61ce5a7e96 minor comment updt 2023-01-17 11:45:09 +05:30
Kaiwan N Billimoria
febb680d59 updt comment 2023-01-15 11:05:02 +05:30
Kaiwan N Billimoria
795e2048a4 optimize- we don't need buf 2022-12-21 17:51:24 +05:30
Kaiwan N Billimoria
375ed75259 Cleanup: 1)use 3 temp buffers; 2)use for_each/do_each (p,t) style 2022-12-21 17:31:00 +05:30
Kaiwan N Billimoria
f1c3d84225 Initial commit 2022-12-21 16:15:08 +05:30
Kaiwan N Billimoria
77fff3e1fc Initial commit 2022-12-21 16:14:42 +05:30