freebsd-dev/sys/amd64
John Baldwin e353233118 Add a sv_copyout_auxargs() hook in sysentvec.
Change the FreeBSD ELF ABIs to use this new hook to copyout ELF auxv
instead of doing it in the sv_fixup hook.  In particular, this new
hook allows the stack space to be allocated at the same time the auxv
values are copied out to userland.  This allows us to avoid wasting
space for unused auxv entries as well as not having to recalculate
where the auxv vector is by walking back up over the argv and
environment vectors.

Reviewed by:	brooks, emaste
Tested on:	amd64 (amd64 and i386 binaries), i386, mips, mips64
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D22355
2019-11-15 18:42:13 +00:00
..
acpica Merge ACPICA 20190329. 2019-03-29 20:21:28 +00:00
amd64 Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00
cloudabi32
cloudabi64
conf Add the pvscsi driver to the tree. 2019-11-14 23:31:20 +00:00
ia32 Don't pass error from syscallenter() to syscallret(). 2019-07-15 21:25:16 +00:00
include Workaround for Intel SKL002/SKL012S errata. 2019-11-12 18:01:33 +00:00
linux linux: futex_mtx should follow futex_list 2019-10-18 12:25:33 +00:00
linux32 linux: futex_mtx should follow futex_list 2019-10-18 12:25:33 +00:00
pci pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
sgx (4/6) Protect page valid with the busy lock. 2019-10-15 03:45:41 +00:00
vmm amd64: move GDT into PCPU area. 2019-11-12 15:51:47 +00:00
Makefile