-
CONFIG_HW_STACK_PROTECTION
¶
Hardware Stack Protection
Type: bool
Help¶
Select this option to enable hardware-based platform features to catch stack overflows when the system is running in privileged mode. If CONFIG_USERSPACE is not enabled, the system is always running in privileged mode.
Note that this does not necessarily prevent corruption and assertions about the overall system state when a fault is triggered cannot be made.
Defaults¶
No defaults. Implicitly defaults to n
.
Symbols that select this symbol¶
Kconfig definition¶
At arch/Kconfig:151
Included via Kconfig:10
→ Kconfig.zephyr:29
Menu path: (top menu) → General Architecture Options
config HW_STACK_PROTECTION bool prompt "Hardware Stack Protection" ifARCH_HAS_STACK_PROTECTION
depends onARCH_HAS_STACK_PROTECTION
help Select this option to enable hardware-based platform features to catch stack overflows when the system is running in privileged mode. If CONFIG_USERSPACE is not enabled, the system is always running in privileged mode. Note that this does not necessarily prevent corruption and assertions about the overall system state when a fault is triggered cannot be made.
(Definitions include propagated dependencies, including from if’s and menus.)