linux: Enable stack protector
This may prevent exploitation of buffer overflows.
This commit is contained in:
@@ -165,6 +165,7 @@ with stdenv.lib;
|
||||
STRICT_DEVMEM y # Filter access to /dev/mem
|
||||
SECURITY_SELINUX_BOOTPARAM_VALUE 0 # Disable SELinux by default
|
||||
DEVKMEM n # Disable /dev/kmem
|
||||
CC_STACKPROTECTOR y # Detect buffer overflows on the stack
|
||||
|
||||
# Misc. options.
|
||||
8139TOO_8129 y
|
||||
|
||||
Reference in New Issue
Block a user