:orphan: .. title:: CONFIG_X86_STACK_PROTECTION .. kconfig:: CONFIG_X86_STACK_PROTECTION CONFIG_X86_STACK_PROTECTION ########################### *(No prompt -- not directly user assignable.)* Type: ``bool`` Help ==== .. code-block:: none 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 ==== .. code-block:: none 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 =================== (!\ :kconfig:`X86_64 ` && \ :kconfig:`X86 `) || (\ :kconfig:`X86_64 ` && \ :kconfig:`X86 `) *(Includes any dependencies from ifs and menus.)* Defaults ======== - y if \ :kconfig:`HW_STACK_PROTECTION ` - y if \ :kconfig:`HW_STACK_PROTECTION ` Symbols selected by this symbol =============================== - \ :kconfig:`THREAD_STACK_INFO ` - \ :kconfig:`SET_GDT ` - \ :kconfig:`GDT_DYNAMIC ` - \ :kconfig:`X86_ENABLE_TSS ` - \ :kconfig:`THREAD_STACK_INFO ` Kconfig definitions =================== At ``/x86/core/Kconfig.ia32:55`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:39`` → ``/Kconfig:12`` → ``/x86/Kconfig:482`` Menu path: (Top) → X86 Architecture Options → Processor Capabilities .. code-block:: kconfig config X86_STACK_PROTECTION bool default y if HW_STACK_PROTECTION select THREAD_STACK_INFO select SET_GDT select GDT_DYNAMIC select X86_ENABLE_TSS depends on !X86_64 && 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 ``/x86/core/Kconfig.intel64:72`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:39`` → ``/Kconfig:12`` → ``/x86/Kconfig:483`` Menu path: (Top) → X86 Architecture Options .. code-block:: kconfig config X86_STACK_PROTECTION bool default y if HW_STACK_PROTECTION select THREAD_STACK_INFO depends on X86_64 && 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.)*