freebsd-skq/sys/compat/freebsd32
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
..
freebsd32_capability.c Avoid relying on header pollution from sys/refcount.h. 2019-07-29 20:26:01 +00:00
freebsd32_ioctl.c Move 32-bit compat support for FIODGNAME to the right place. 2018-10-26 17:59:25 +00:00
freebsd32_ioctl.h Move 32-bit compat support for FIODGNAME to the right place. 2018-10-26 17:59:25 +00:00
freebsd32_ipc.h Rename kernel-only members of semid_ds and msgid_ds. 2018-03-02 22:10:48 +00:00
freebsd32_misc.c Copy out aux args after the argument and environment vectors. 2019-12-09 19:17:28 +00:00
freebsd32_misc.h sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
freebsd32_proto.h sysent: regenerate after r354835 2019-11-18 23:31:12 +00:00
freebsd32_signal.h sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
freebsd32_syscall.h sysent: regenerate after r352747. 2019-09-26 15:41:10 +00:00
freebsd32_syscalls.c sysent: regenerate after r352747. 2019-09-26 15:41:10 +00:00
freebsd32_sysent.c Jail and capability mode for shm_rename; add audit support for shm_rename 2019-11-18 13:31:16 +00:00
freebsd32_systrace_args.c sysent: regenerate after r354835 2019-11-18 23:31:12 +00:00
freebsd32_util.h Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
freebsd32.h sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
Makefile sysent: Reduce duplication and improve readability. 2019-12-06 23:59:23 +00:00
syscalls.conf Use the main capabilities.conf for freebsd32. 2018-11-14 00:46:02 +00:00
syscalls.master Jail and capability mode for shm_rename; add audit support for shm_rename 2019-11-18 13:31:16 +00:00