Add retguard to amd64 syscalls.
authormortimer <mortimer@openbsd.org>
Wed, 11 Jan 2023 01:55:17 +0000 (01:55 +0000)
committermortimer <mortimer@openbsd.org>
Wed, 11 Jan 2023 01:55:17 +0000 (01:55 +0000)
commit39b8558c7ed42088504f32a89aaec359144031a7
tree479c30778106b7fa7c4214c14efaf75a6be4cd67
parentdbd1c20adc6d55346d08e5d1a584a3c8ad00c2be
Add retguard to amd64 syscalls.

Since we got rid of padded syscalls we have enough registers to do this.

ok deraadt@ ok kettenis@
lib/libc/arch/amd64/SYS.h
lib/libc/arch/amd64/sys/Ovfork.S
lib/libc/arch/amd64/sys/brk.S
lib/libc/arch/amd64/sys/sbrk.S
lib/libc/arch/amd64/sys/sigpending.S
lib/libc/arch/amd64/sys/sigprocmask.S
lib/libc/arch/amd64/sys/sigsuspend.S
lib/libc/arch/amd64/sys/tfork_thread.S
libexec/ld.so/amd64/SYS.h