ktaskcmdline is a simple kernel module to get program cmd-line arguments when program start in kernel.
- compile
make
- add kernel-module ktaskcmdline.ko:
/sbin/insmod ktaskcmdline.ko
- show result
dmesg
- remove kernel-module
/sbin/rmmod ktaskcmdline.ko