From 2b6abf6f89fdea19ad174634d1c4d79855571c2f Mon Sep 17 00:00:00 2001 From: Andrew Boie Date: Wed, 11 Oct 2017 15:46:42 -0700 Subject: [PATCH] kernel: USERSPACE implies HW_STACK_PROTECTION Userspace is built on top of hardware stack protection and assumes it is there. We can't enable this unless ARCH_HAS_USERSPACE is defined anyway. Signed-off-by: Andrew Boie --- arch/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/Kconfig b/arch/Kconfig index a4643884b40..1f5d43fff07 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -47,7 +47,7 @@ config HW_STACK_PROTECTION config USERSPACE bool "User mode threads" depends on ARCH_HAS_USERSPACE - depends on HW_STACK_PROTECTION + select HW_STACK_PROTECTION help When enabled, threads may be created or dropped down to user mode, which has significantly restricted permissions and must interact