mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
10 lines
123 B
Bash
Executable File
10 lines
123 B
Bash
Executable File
#!/bin/sh
|
|
insmod /fops.ko
|
|
cd /sys/kernel/debug/lkmc_fops
|
|
i=0
|
|
while true; do
|
|
printf "$i" >f
|
|
i=$(($i+1))
|
|
done &
|
|
/kgdb.sh
|