mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 20:14:27 +01:00
make overlay scripts use kernel modules and executables relative to pwd in preparison for 9p
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
f=/sys/kernel/debug/lkmc_kstrto
|
||||
insmod /kstrto.ko
|
||||
insmod kstrto.ko
|
||||
printf 123 > "$f"
|
||||
[ "$(cat "$f")" = 124 ]
|
||||
echo foobar > "$f" && exit 1
|
||||
|
||||
Reference in New Issue
Block a user