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

LEDE Commits lede-commits at lists.infradead.org
Thu Jul 23 18:36:50 EDT 2020


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f94b09867d7f3f32c7da01675a6559f4b4b94803

commit f94b09867d7f3f32c7da01675a6559f4b4b94803
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Fri Jul 17 23:27:41 2020 +0200

    build: Remove dependency of user space stack cookies from kernel
    
    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.
    
    Reviewed-by: Ian Cooper <iancooper at hotmail.com>
    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 ac1e05d2ff..199277167b 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



More information about the lede-commits mailing list