Add speculation-blocking sequence after syscalls like we did for libc a while
authorkettenis <kettenis@openbsd.org>
Mon, 28 Jun 2021 18:21:08 +0000 (18:21 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 28 Jun 2021 18:21:08 +0000 (18:21 +0000)
commit5ab4942a6f32b3b0f559ef88b8e3b25a2a76118d
treec1e1918e7ba9df6166f7e8e6a857e47fe9283ae1
parent845b0e889b3400dfea3a4fb397ae309e458fa682
Add speculation-blocking sequence after syscalls like we did for libc a while
ago.  While there, fix the SYS_exit syscall.  The syscall number is passed in
r12, not as the argument of the syscall instruction.

ok deraadt@
sys/arch/arm/arm/sigcode.S