build: Remove dependency of user space stack cookies from kernel
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 17 Jul 2020 21:27:41 +0000 (23:27 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 23 Jul 2020 22:35:21 +0000 (00:35 +0200)
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@hotmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
config/Config-build.in

index ac1e05d2ff497c30287d70cd023de8a9ce085137..199277167bf775b10ed42c2ec37c523a781bbc4e 100644 (file)
@@ -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