mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +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 /anonymous_inode.ko
|
||||
cd /sys/kernel/debug/lkmc_anonymous_inode/
|
||||
/anonymous_inode.out f
|
||||
/anonymous_inode.out /sys/kernel/debug/lkmc_anonymous_inode
|
||||
rmmod anonymous_inode
|
||||
|
||||
Reference in New Issue
Block a user