kernel/common-config: Another optional option
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
aae821493d
commit
657998dbcb
@ -169,9 +169,9 @@ with stdenv.lib;
|
|||||||
SECURITY_SELINUX_BOOTPARAM_VALUE 0 # Disable SELinux by default
|
SECURITY_SELINUX_BOOTPARAM_VALUE 0 # Disable SELinux by default
|
||||||
DEVKMEM? n # Disable /dev/kmem
|
DEVKMEM? n # Disable /dev/kmem
|
||||||
${if versionOlder version "3.14" then ''
|
${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 ''
|
'' else ''
|
||||||
CC_STACKPROTECTOR_REGULAR y
|
CC_STACKPROTECTOR_REGULAR? y
|
||||||
''}
|
''}
|
||||||
${optionalString (versionAtLeast version "3.12") ''
|
${optionalString (versionAtLeast version "3.12") ''
|
||||||
USER_NS y # Support for user namespaces
|
USER_NS y # Support for user namespaces
|
||||||
|
Loading…
Reference in New Issue
Block a user