3
0
Fork 0
forked from mirrors/nixpkgs

linux: Enable stack protector

This may prevent exploitation of buffer overflows.
This commit is contained in:
Eelco Dolstra 2013-08-01 00:38:54 +02:00
parent c564d012f8
commit f2f00c56e4

View file

@ -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