From c5da2e08c6a931fef7471cb18fefaeae68e3f495 Mon Sep 17 00:00:00 2001 From: Ioannis Glaropoulos Date: Fri, 26 Oct 2018 10:43:26 +0200 Subject: [PATCH] arch: increase priv stack with built-in stack-overflow checking This commit increases the privilege stack size to 512 bytes, when building with support for built-in stack-overflow checking. This is in alignment with #10729, which increases the privilege stack size when MPU-based stack guarding is enabled. Signed-off-by: Ioannis Glaropoulos --- arch/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/Kconfig b/arch/Kconfig index 10f977b7106..5ad1465ccae 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -134,7 +134,7 @@ config USERSPACE config PRIVILEGED_STACK_SIZE int "Size of privileged stack" - default 512 if MPU_STACK_GUARD + default 512 if MPU_STACK_GUARD || BUILTIN_STACK_GUARD default 384 if ARC default 256 depends on ARCH_HAS_USERSPACE