failed fops attempt

This commit is contained in:
Ciro Santilli
2017-06-08 07:49:14 +01:00
parent 3893ea9272
commit bf538cd3a6
5 changed files with 88 additions and 21 deletions

7
rootfs_overlay/ioctl.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
set -e
insmod /ioctl.ko
cd /sys/kernel/debug/lkmc_ioctl/
/ioctl.out f 2 1
#/ioctl.out f 1 0
rmmod ioctl