Debufs on fstab, go back to tty login to have job control, prepare target makefile for multiple progs

This commit is contained in:
Ciro Santilli
2017-05-20 07:45:37 +01:00
parent f367ffc6cf
commit 3cb4d0bf28
6 changed files with 24 additions and 5 deletions

View File

@@ -1,6 +1,8 @@
#!/bin/sh
set -ex
mkdir -p /debugfs
# We also added a fstab entry that mounts this under /sys/kernel/debug autmoatically.
# That is the most common place to mount it.
mount -t debugfs none /debugfs
insmod /debugfs.ko
cd /debugfs/kernel_module_cheat