Preparatory patches: https://github.com/NVIDIA/open-gpu-kernel-modules/pull/1068
Full Kbuild support: https://github.com/NVIDIA/open-gpu-kernel-modules/pull/1069
#grsecurity compatibility: https://github.com/NVIDIA/open-gpu-kernel-modules/pull/1070
Preparatory patches: https://github.com/NVIDIA/open-gpu-kernel-modules/pull/1068
Full Kbuild support: https://github.com/NVIDIA/open-gpu-kernel-modules/pull/1069
#grsecurity compatibility: https://github.com/NVIDIA/open-gpu-kernel-modules/pull/1070
Linux kernel hardening does not necessarily have to ruin performance. Quite the opposite is possible! One just has to address performance issues first and gets better security “for free” — sometimes vast performance improvements even!
Current example: BPF JIT handling. test_bpf.ko is a kernel module exercising various extreme and corner cases of BPF programs the kernel is supposed to handle just fine. However, under certain configurations it makes the kernel busy burn cycles without making real progress. Fixing that allowed us to implement security features in #grsecurity at all stages of the JIT process and basically get them for free. See for yourself…
…and yes, while waiting for insmod to finish on vanilla Linux, I fixed the tests and did a quick re-run on #grsecurity.