mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user