mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 03:01:36 +01:00
make overlay scripts use kernel modules and executables relative to pwd in preparison for 9p
This commit is contained in:
@@ -3,7 +3,7 @@ set -e
|
||||
d=/debugfs
|
||||
mkdir -p "$d"
|
||||
mount -t debugfs none "$d"
|
||||
insmod /debugfs.ko
|
||||
insmod debugfs.ko
|
||||
[ "$(cat "${d}/lkmc_debugfs/myfile")" = 42 ]
|
||||
echo 13 > "${d}/lkmc_debugfs/myfile"
|
||||
[ "$(cat "${d}/lkmc_debugfs/myfile")" = 13 ]
|
||||
|
||||
Reference in New Issue
Block a user