An anti-rootkit Linux kernel module, written in 2022 as a way to learn kernel security. The point was less the finished module than the path to it: look at the kernel structures a rootkit abuses, write a small attack, then write the defense. AppArmor and SELinux were out of scope.
The target was kernel 4.0 and newer, but the work starts on 2.4 and 2.6. They lack the protections of later kernels, the literature covers them well, and the demonstrations are much easier there.