freebsd-skq/sys/sparc64
jhb 3f50cb7491 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
..
central
conf Split out a more generic debugnet(4) from netdump(4) 2019-10-17 16:23:03 +00:00
ebus
fhc
include Port r353622 to sparc64 and arm v4. 2019-10-16 21:07:18 +00:00
isa
pci
sbus
sparc64 Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00