kernel/common-config: Another optional option

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2014-05-17 19:44:03 -05:00
parent aae821493d
commit 657998dbcb

View file

@ -169,9 +169,9 @@ with stdenv.lib;
SECURITY_SELINUX_BOOTPARAM_VALUE 0 # Disable SELinux by default
DEVKMEM? n # Disable /dev/kmem
${if versionOlder version "3.14" then ''
CC_STACKPROTECTOR y # Detect buffer overflows on the stack
CC_STACKPROTECTOR? y # Detect buffer overflows on the stack
'' else ''
CC_STACKPROTECTOR_REGULAR y
CC_STACKPROTECTOR_REGULAR? y
''}
${optionalString (versionAtLeast version "3.12") ''
USER_NS y # Support for user namespaces