kernel: Make SECURITY_YAMA optional
It's highly recommended, but not required to run NixOS.
commitf0602d2d3613eac1ad95d8ba47de225141b05ed0
authorAneesh Agrawal <aneeshusa@gmail.com>
dateSat 8 Oct 2016, 10:49 (10 years ago)
parenta000ed1
pkgs/os-specific/linux/kernel/common-config.nix+1−1
@@ -284,7 +284,7 @@ with stdenv.lib;
284284 RANDOMIZE_BASE? y
285285 STRICT_DEVMEM y # Filter access to /dev/mem
286286 SECURITY_SELINUX_BOOTPARAM_VALUE 0 # Disable SELinux by default
287− SECURITY_YAMA y # Prevent processes from ptracing non-children processes
287+ SECURITY_YAMA? y # Prevent processes from ptracing non-children processes
288288 DEVKMEM n # Disable /dev/kmem
289289 ${if versionOlder version "3.14" then ''
290290 CC_STACKPROTECTOR? y # Detect buffer overflows on the stack