mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-24 18:51:36 +01:00
ioctl: move doc to README
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
f=/sys/kernel/debug/lkmc_ioctl
|
||||
insmod /ioctl.ko
|
||||
/ioctl.out /sys/kernel/debug/lkmc_ioctl
|
||||
[ "$(/ioctl.out "$f" 0 1)" = 2 ]
|
||||
[ "$(/ioctl.out "$f" 1 1 1)" = '2 0' ]
|
||||
rmmod ioctl
|
||||
|
||||
@@ -5,6 +5,7 @@ for test in \
|
||||
/character_device_create.sh \
|
||||
/debugfs.sh \
|
||||
/fops.sh \
|
||||
/ioctl.sh \
|
||||
/procfs.sh \
|
||||
/seq_file.sh \
|
||||
/seq_file_single_open.sh \
|
||||
|
||||
Reference in New Issue
Block a user