freebsd-nq/sys/compat
John Baldwin d8010b1175 Copy out aux args after the argument and environment vectors.
Partially revert r354741 and r354754 and go back to allocating a
fixed-size chunk of stack space for the auxiliary vector.  Keep
sv_copyout_auxargs but change it to accept the address at the end of
the environment vector as an input stack address and no longer
allocate room on the stack.  It is now called at the end of
copyout_strings after the argv and environment vectors have been
copied out.

This should fix a regression in r354754 that broke the stack alignment
for newer Linux amd64 binaries (and probably broke Linux arm64 as
well).

Reviewed by:	kib
Tested on:	amd64 (native, linux64 (only linux-base-c7), and i386)
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D22695
2019-12-09 19:17:28 +00:00
..
cloudabi Fix the last few cases that grab without busy or valid. The grab functions must 2019-12-02 22:38:25 +00:00
cloudabi32 sysent: Reduce duplication and improve readability. 2019-12-06 23:59:23 +00:00
cloudabi64 sysent: Reduce duplication and improve readability. 2019-12-06 23:59:23 +00:00
freebsd32 Copy out aux args after the argument and environment vectors. 2019-12-09 19:17:28 +00:00
ia32 Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +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 Fix the last few cases that grab without busy or valid. The grab functions must 2019-12-02 22:38:25 +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