start.c
/stop.c
: Kernel module in multiple fileschardev.c
: Kernel module to simulate a simple character devicesyscall.c
: Kernel module to hijack syscall open.
All code tested under Ubuntu 16.04.
Dependencies:
apt install linux-headers-$(uname -r) gcc make