Skip to content
Commit 9731a0cc authored by Andrew Boie's avatar Andrew Boie Committed by Andrew Boie
Browse files

arm: syscalls: fix some register issues



Upon return from a syscall handlers, the r1, r2, and r3 registers
could contain random kernel data that should not be leaked to user
mode. Zero these out before returning from _arm_do_syscall().
Fixes #7753.

The invocation macros need a clobber if r1, r2, or r3 are not used
to carry syscall arguments. This is a partial fix for #7754 but
there appear to be other issues.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent efe0c4b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment