···343344 # Security related features.
345 RANDOMIZE_BASE? y
346- STRICT_DEVMEM y # Filter access to /dev/mem
347 SECURITY_SELINUX_BOOTPARAM_VALUE 0 # Disable SELinux by default
348 SECURITY_YAMA? y # Prevent processes from ptracing non-children processes
349 DEVKMEM n # Disable /dev/kmem
···343344 # Security related features.
345 RANDOMIZE_BASE? y
346+ STRICT_DEVMEM? y # Filter access to /dev/mem
347 SECURITY_SELINUX_BOOTPARAM_VALUE 0 # Disable SELinux by default
348 SECURITY_YAMA? y # Prevent processes from ptracing non-children processes
349 DEVKMEM n # Disable /dev/kmem
+2-2
pkgs/os-specific/linux/kernel/hardened-config.nix
···61DEBUG_WX y # boot-time warning on RWX mappings
6263# Stricter /dev/mem
64-STRICT_DEVMEM y
65-IO_STRICT_DEVMEM y
6667# Perform additional validation of commonly targeted structures.
68DEBUG_CREDENTIALS y
···61DEBUG_WX y # boot-time warning on RWX mappings
6263# Stricter /dev/mem
64+STRICT_DEVMEM? y
65+IO_STRICT_DEVMEM? y
6667# Perform additional validation of commonly targeted structures.
68DEBUG_CREDENTIALS y