[PATCH] build: Remove dependency of user space stack cookies from kernel

Hauke Mehrtens hauke at hauke-m.de
Fri Jul 17 17:49:39 EDT 2020


Currently the user space stack cookies work well also when the kernel
stack cookies are not activated. This is handled completely in user
space and does not need kernel support.

This dependency was probably needed some years ago when the libc did not
support stack cookies.

Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 config/Config-build.in | 2 --
 1 file changed, 2 deletions(-)

diff --git a/config/Config-build.in b/config/Config-build.in
index ac1e05d2ff49..199277167bf7 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -256,10 +256,8 @@ menu "Global build settings"
 			bool "None"
 		config PKG_CC_STACKPROTECTOR_REGULAR
 			bool "Regular"
-			depends on KERNEL_CC_STACKPROTECTOR_REGULAR
 		config PKG_CC_STACKPROTECTOR_STRONG
 			bool "Strong"
-			depends on KERNEL_CC_STACKPROTECTOR_STRONG
 	endchoice
 
 	choice
-- 
2.20.1




More information about the openwrt-devel mailing list