Skip to content
Commit 65dcab81 authored by Bradley Bolen's avatar Bradley Bolen Committed by Christopher Friedt
Browse files

arch: arm: cortex_r: Do not use user stack in svc/isr modes



The user thread cannot be trusted so do not use the stack pointer it
passes in.  Use the thread's privilege stack when in privileged modes to
make sure a user thread does not trick the svc/isr handlers into writing
to memory it should not.

Signed-off-by: default avatarBradley Bolen <bbolen@lexmark.com>
parent e0bed3b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment