-
CONFIG_X86_STACK_PROTECTION
¶
(No prompt – not directly user assignable.)
Type: bool
Help¶
This option leverages the MMU to cause a system fatal error if the bounds of the current process stack are overflowed. This is done by preceding all stack areas with a 4K guard page.
Defaults¶
- “y” if
HW_STACK_PROTECTION
&&X86
Symbols selected by this symbol¶
SET_GDT
ifX86
GDT_DYNAMIC
ifX86
X86_ENABLE_TSS
ifX86
Kconfig definition¶
At arch/x86/Kconfig:125
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
Menu path: (top menu) → X86 Architecture Options → Processor Capabilities
config X86_STACK_PROTECTION bool default "y" ifHW_STACK_PROTECTION
&&X86
selectSET_GDT
ifX86
selectGDT_DYNAMIC
ifX86
selectX86_ENABLE_TSS
ifX86
depends onX86
help This option leverages the MMU to cause a system fatal error if the bounds of the current process stack are overflowed. This is done by preceding all stack areas with a 4K guard page.
(Definitions include propagated dependencies, including from if’s and menus.)