mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
poll kernel module: overhaul with prints everywhere
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
# https://cirosantilli.com/linux-kernel-module-cheat#poll
|
||||
set -e
|
||||
insmod poll.ko
|
||||
insmod poll.ko "$@"
|
||||
./kernel_modules/poll.out /sys/kernel/debug/lkmc_poll
|
||||
# TODO capture Ctrl+C and do this automatically.
|
||||
#rmmod poll
|
||||
|
||||
Reference in New Issue
Block a user