diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 485cdd76f6a..3ce65a3f6e1 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -255,6 +255,9 @@ with stdenv.lib; SQUASHFS_LZ4 y ''} + # Runtime security tests + DEBUG_SET_MODULE_RONX? y # Detect writes to read-only module pages + # Security related features. STRICT_DEVMEM y # Filter access to /dev/mem SECURITY_SELINUX_BOOTPARAM_VALUE 0 # Disable SELinux by default