freebsd-nq/sys/amd64
Konstantin Belousov f575573ca5 Remove PT_GET_SC_ARGS_ALL
Reimplement bdf0f24bb1 by checking for the caller' ABI in
the implementation of PT_GET_SC_ARGS, and copying out everything if
it is Linuxolator.

Also fix a minor information leak: if PT_GET_SC_ARGS_ALL is done on the
thread reused after other process, it allows to read some number of that
thread last syscall arguments. Clear td_sa.args in thread_alloc().

Reviewed by:	jhb
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D31968
2021-09-16 20:11:27 +03:00
..
acpica amd64 wakeup: rework trampoline page allocation 2021-09-14 00:23:15 +03:00
amd64 amd64: correctly calculate KVA of the preloaded ucode blob 2021-08-31 04:46:12 +03:00
cloudabi32
cloudabi64
conf vmd(4): Major driver refactoring 2021-09-02 20:58:02 -04:00
ia32 Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
include Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
linux Remove PT_GET_SC_ARGS_ALL 2021-09-16 20:11:27 +03:00
linux32 Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
pci
sgx
vmm Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
Makefile