Create debugfs files directly on debugfs root instead of a subdirectory

This commit is contained in:
Ciro Santilli
2017-07-14 11:24:52 +01:00
parent d4ed593451
commit 1918c4fdfe
10 changed files with 21 additions and 26 deletions

View File

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