zephyr/arch/arm
Ioannis Glaropoulos 3fb6ea210a arch: arm: re-program MPU stack guard upon userspace enter
Before entering userspace, the MPU stack guard is
configured to guard the default (i.e. afterwards, the "user")
thread stack, as the privileged stack has not yet been set. Upon
entering userspace the MPU stack guard needs to be re-programmed
to the privileged stack, otherwise, there is a risk that the
first system call might be serviced without privileged stack
protection, if it occurs before any context-switch. This commit
fixes this issue, by calling configure_mpu_stack_guard(..) upon
userspace entering.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2018-10-15 12:19:09 -05:00
..
core arch: arm: re-program MPU stack guard upon userspace enter 2018-10-15 12:19:09 -05:00
include headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
CMakeLists.txt arm: soc: move arm SoCs to top-dir 2018-09-13 00:56:48 -04:00
Kconfig kconfig: move soc selection to ZEPHYR_BASE/soc/ 2018-09-13 00:56:48 -04:00
defconfig