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 <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2017-10-11 15:46:42 -07:00 committed by Anas Nashif
commit 2b6abf6f89

View file

@ -47,7 +47,7 @@ config HW_STACK_PROTECTION
config USERSPACE config USERSPACE
bool "User mode threads" bool "User mode threads"
depends on ARCH_HAS_USERSPACE depends on ARCH_HAS_USERSPACE
depends on HW_STACK_PROTECTION select HW_STACK_PROTECTION
help help
When enabled, threads may be created or dropped down to user mode, When enabled, threads may be created or dropped down to user mode,
which has significantly restricted permissions and must interact which has significantly restricted permissions and must interact