Linux kernel module written in Zig with a C FFI layer that implements RFC 3514
Warning: This is a silly kernel module for learning more about Zig/FFI. May the evil be with you!
- Zig compiler
- Linux kernel headers (you may need to change KDIR in the Makefile depending on your distro)
- Build tools (gcc/make)
- Privileges (sudo!) for loading/unloading/logs
build:
makeload:
sudo make loadunload:
sudo make unloadlogs:
sudo make logsclean:
make clean