mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
9 lines
152 B
Bash
Executable File
9 lines
152 B
Bash
Executable File
#!/bin/sh
|
|
set -ex
|
|
insmod /seq_file_single.ko
|
|
cd /sys/kernel/debug
|
|
cat 'lkmc_seq_file_single'
|
|
# => abcd
|
|
dd if='lkmc_seq_file_single' bs=1 skip=2
|
|
# => cd
|