Просмотр исходного кода

hardening: enable regular SSP support by default

Signed-off-by: Steven Barth <[email protected]>

SVN-Revision: 46020
Steven Barth 10 лет назад
Родитель
Сommit
19810a5145
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      config/Config-build.in
  2. 1 1
      toolchain/gcc/Config.in

+ 2 - 2
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

+ 1 - 1
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