-
CONFIG_USERSPACE
¶
User mode threads
Type: bool
Help¶
When enabled, threads may be created or dropped down to user mode, which has significantly restricted permissions and must interact with the kernel via system calls. See Zephyr documentation for more details about this feature.
If a user thread overflows its stack, this will be caught and the kernel itself will be shielded from harm. Enabling this option may or may not catch stack overflows when the system is in privileged mode or handling a system call; to ensure these are always caught, enable CONFIG_HW_STACK_PROTECTION.
Defaults¶
No defaults. Implicitly defaults to n
.
Symbols that select this symbol¶
Kconfig definition¶
At arch/Kconfig:164
Included via Kconfig:10
→ Kconfig.zephyr:29
Menu path: (top menu) → General Architecture Options
config USERSPACE bool prompt "User mode threads" ifARCH_HAS_USERSPACE
depends onARCH_HAS_USERSPACE
help When enabled, threads may be created or dropped down to user mode, which has significantly restricted permissions and must interact with the kernel via system calls. See Zephyr documentation for more details about this feature. If a user thread overflows its stack, this will be caught and the kernel itself will be shielded from harm. Enabling this option may or may not catch stack overflows when the system is in privileged mode or handling a system call; to ensure these are always caught, enable CONFIG_HW_STACK_PROTECTION.
(Definitions include propagated dependencies, including from if’s and menus.)