Skip to content
Commit 637bd8f5 authored by Sudan Landge's avatar Sudan Landge Committed by Carles Cufí
Browse files

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: default avatarSudan Landge <sudan.landge@arm.com>
parent d7c62969
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment