mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
8 lines
114 B
Bash
Executable File
8 lines
114 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
insmod /ioctl.ko
|
|
cd /sys/kernel/debug/lkmc_ioctl/
|
|
/ioctl.out f 2 1
|
|
#/ioctl.out f 1 0
|
|
rmmod ioctl
|