freebsd-dev/sys/compat
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
..
cloudabi [2/3] Add an initial seal argument to kern_shm_open() 2019-09-25 17:35:03 +00:00
cloudabi32 Regen after r347228 and r352693. 2019-09-30 21:00:19 +00:00
cloudabi64 Regen after r347228 and r352693. 2019-09-30 21:00:19 +00:00
freebsd32 Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00
ia32 Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00
lindebugfs LinuxKPI: Finalize move of lindebugfs from ports to base. 2019-05-19 15:44:21 +00:00
linprocfs linprocfs: Make sure to report -1 as tty when we have no controlling tty. 2019-11-11 00:21:05 +00:00
linsysfs Create a "drm" subdirectory for drm devices in linsysfs. Recent versions of 2019-09-23 12:27:55 +00:00
linux Support O_CLOEXEC in linux(4) open(2) and openat(2). 2019-11-15 16:21:46 +00:00
linuxkpi/common Enable device class group attributes in the LinuxKPI. 2019-11-04 14:19:09 +00:00
ndis Fix compilation with 'option NDISAPI + device ndis' and 2019-01-30 11:40:12 +00:00
netbsd sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
x86bios x86bios: use M_NOWAIT with mallocs 2018-09-13 07:04:00 +00:00