zephyr/arch/arm/core/mpu
Sudan Landge 637bd8f587 arch: arm: Add PXN attr for userspace MPU regions
What is the change?
 - PXN attributes is set for static mpu regions such that
   __ramfunc and __ram_text_reloc having userspace code
   cannot be executed in privileged mode.
 - Updated the notable change section to inform about the change in
   behaviour of code executed from __ramfunc and __ram_text_reloc MPU
   regions.

Why do we need this change?
 - The current static MPU regions allows executing userspace/unprivileged
   code from privileged mode which may not be expected and can lead to
   secure privileged escalation attacks.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-03-20 12:17:11 +01:00
..
cortex_a_r
cortex_m
arm_core_mpu_dev.h arch: arm: rename CPU_HAS_NXP_MPU to align with binding 2024-12-06 22:23:06 +01:00
arm_core_mpu.c arch: arm: Add PXN attr for userspace MPU regions 2025-03-20 12:17:11 +01:00
arm_mpu_regions.c arm: mpu: Remove FLASH_0 mpu region when XIP=n 2024-12-06 18:20:48 +01:00
arm_mpu_v7_internal.h
arm_mpu_v8_internal.h arch: arm: Add PXN support for Armv8.1-M 2025-03-20 12:17:11 +01:00
arm_mpu.c arch: arm: Add PXN support for Armv8.1-M 2025-03-20 12:17:11 +01:00
CMakeLists.txt arch: arm: rename CPU_HAS_NXP_MPU to align with binding 2024-12-06 22:23:06 +01:00
Kconfig arch: arm: Add PXN support for Armv8.1-M 2025-03-20 12:17:11 +01:00
nxp_mpu.c arch: arm: fix compile issue if MEM_ATTR=n and ARM_MPU=y 2025-02-13 16:43:11 +01:00