diff options
author | Steven Barth <steven@midlink.org> | 2015-06-17 13:13:48 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-06-17 13:13:48 +0000 |
commit | f266b5adec14c19756e6962a28a49d845640a04d (patch) | |
tree | cdca4ec10795c4a4178afaa4fe27c6f34fdd7fb1 | |
parent | ad8b335df19dbdca24cf26d71b59f202f9408969 (diff) | |
download | master-187ad058-f266b5adec14c19756e6962a28a49d845640a04d.tar.gz master-187ad058-f266b5adec14c19756e6962a28a49d845640a04d.tar.bz2 master-187ad058-f266b5adec14c19756e6962a28a49d845640a04d.zip |
hardening: enable regular SSP support by default
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46020 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | config/Config-build.in | 4 | ||||
-rw-r--r-- | toolchain/gcc/Config.in | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/Config-build.in b/config/Config-build.in index 0584820cdd..42b8e8e5e3 100644 --- a/config/Config-build.in +++ b/config/Config-build.in @@ -219,7 +219,7 @@ menu "Global build settings" choice prompt "User space Stack-Smashing Protection" - default PKG_CC_STACKPROTECTOR_NONE + default PKG_CC_STACKPROTECTOR_REGULAR help Enable GCC Stack Smashing Protection (SSP) for userspace applications config PKG_CC_STACKPROTECTOR_NONE @@ -237,7 +237,7 @@ menu "Global build settings" choice prompt "Kernel space Stack-Smashing Protection" - default KERNEL_CC_STACKPROTECTOR_NONE + default KERNEL_CC_STACKPROTECTOR_REGULAR help Enable GCC Stack-Smashing Protection (SSP) for the kernel config KERNEL_CC_STACKPROTECTOR_NONE diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in index d8141815fb..274b97c9b8 100644 --- a/toolchain/gcc/Config.in +++ b/toolchain/gcc/Config.in @@ -41,7 +41,7 @@ config EXTRA_GCC_CONFIG_OPTIONS config SSP_SUPPORT bool prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS - default n + default y help Enable Stack-Smashing Protection support |