Files
linux-kernel-module-cheat/rootfs_overlay/ioctl.sh
2017-06-13 09:44:29 +01:00

7 lines
92 B
Bash
Executable File

#!/bin/sh
set -e
insmod /ioctl.ko
cd /sys/kernel/debug/lkmc_ioctl/
/ioctl.out f
rmmod ioctl