mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
6 lines
164 B
Bash
Executable File
6 lines
164 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
insmod /anonymous_inode.ko
|
|
[ "$(/anonymous_inode.out /sys/kernel/debug/lkmc_anonymous_inode 3)" = "$(printf '1\n10\n100')" ]
|
|
rmmod anonymous_inode
|