zephyr/include/arch/arm
Andrew Boie 9731a0cce9 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: Andrew Boie <andrew.p.boie@intel.com>
2018-05-22 15:59:07 -07:00
..
cortex_m arm: mpu: nxp: set bus master 4 to write and read access 2018-05-17 07:00:49 -05:00
arch.h arm: syscalls: fix some register issues 2018-05-22 15:59:07 -07:00