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.

Direct dependencies

X86

(Includes any dependencies from if’s and menus.)

Defaults

Symbols selected by this symbol

Kconfig definition

At arch/x86/Kconfig:125

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16

Menu path: (top menu) → X86 Architecture Options → Processor Capabilities

config X86_STACK_PROTECTION
    bool
    default "y" if HW_STACK_PROTECTION && X86
    select SET_GDT if X86
    select GDT_DYNAMIC if X86
    select X86_ENABLE_TSS if X86
    depends on X86
    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.)