mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
8 lines
210 B
Bash
Executable File
8 lines
210 B
Bash
Executable File
#!/bin/sh
|
|
# https://cirosantilli.com/linux-kernel-module-cheat#poll
|
|
set -e
|
|
insmod poll.ko "$@"
|
|
./kernel_modules/poll.out /sys/kernel/debug/lkmc_poll
|
|
# TODO capture Ctrl+C and do this automatically.
|
|
#rmmod poll
|