mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 04:54:27 +01:00
Create debugfs files directly on debugfs root instead of a subdirectory
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user