mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
8 lines
112 B
Bash
Executable File
8 lines
112 B
Bash
Executable File
#!/bin/sh
|
|
insmod /kstrto.ko
|
|
cd /sys/kernel/debug
|
|
echo 1234 > lkmc_kstrto
|
|
# 1234
|
|
echo foobar > lkmc_kstrto
|
|
# -22
|