zephyr/include/arch
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
..
arc arch: arc: bug fixes and optimization in exception handling 2018-04-17 10:50:12 -07:00
arm arm: syscalls: fix some register issues 2018-05-22 15:59:07 -07:00
nios2 dts: nios2f: Add device tree support 2018-05-17 14:09:15 -07:00
posix POSIX arch: Fix linker -T warning 2018-05-02 10:19:09 -04:00
riscv32 k_thread_abort(): assert if abort essential thread 2017-09-07 16:35:16 -07:00
x86 x86: grant user mode access to newlib heap 2018-05-09 16:36:36 -07:00
xtensa dts: xtensa: Add device tree support for xtensa 2018-05-01 16:46:41 -04:00
cpu.h arch: native: Run Zephyr natively in a POSIX OS 2017-12-27 14:16:08 -05:00