mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
kstrto
This commit is contained in:
7
rootfs_overlay/kstrto.sh
Executable file
7
rootfs_overlay/kstrto.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
insmod /kstrto.ko
|
||||
cd /sys/kernel/debug
|
||||
echo 1234 > lkmc_kstrto
|
||||
# 1234
|
||||
echo foobar > lkmc_kstrto
|
||||
# -22
|
||||
Reference in New Issue
Block a user