:orphan: .. title:: X86_STACK_PROTECTION .. option:: 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. 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 =================== (!\ :option:`X86_64 ` && \ :option:`X86 `) || (\ :option:`X86_64 ` && \ :option:`X86 `) *(Includes any dependencies from ifs and menus.)* Defaults ======== - y if \ :option:`HW_STACK_PROTECTION ` - y if \ :option:`HW_STACK_PROTECTION ` Symbols selected by this symbol =============================== - \ :option:`THREAD_STACK_INFO ` - \ :option:`SET_GDT ` - \ :option:`GDT_DYNAMIC ` - \ :option:`X86_ENABLE_TSS ` - \ :option:`THREAD_STACK_INFO ` Kconfig definitions =================== .. highlight:: kconfig At ``arch/x86/core/Kconfig.ia32:55`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:12`` → ``arch/x86/Kconfig:319`` Menu path: (Top) → X86 Architecture Options → Processor Capabilities .. parsed-literal:: config X86_STACK_PROTECTION bool default y if \ :option:`HW_STACK_PROTECTION ` select \ :option:`THREAD_STACK_INFO ` select \ :option:`SET_GDT ` select \ :option:`GDT_DYNAMIC ` select \ :option:`X86_ENABLE_TSS ` depends on !\ :option:`X86_64 ` && \ :option:`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. ---- At ``arch/x86/core/Kconfig.intel64:72`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:12`` → ``arch/x86/Kconfig:320`` Menu path: (Top) → X86 Architecture Options .. parsed-literal:: config X86_STACK_PROTECTION bool default y if \ :option:`HW_STACK_PROTECTION ` select \ :option:`THREAD_STACK_INFO ` depends on \ :option:`X86_64 ` && \ :option:`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. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*