freebsd-dev/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
freebsd32_ioctl.c
freebsd32_ioctl.h
freebsd32_ipc.h
freebsd32_misc.c Copy out aux args after the argument and environment vectors. 2019-12-09 19:17:28 +00:00
freebsd32_misc.h
freebsd32_proto.h sysent: regenerate after r354835 2019-11-18 23:31:12 +00:00
freebsd32_signal.h
freebsd32_syscall.h
freebsd32_syscalls.c
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
Makefile sysent: Reduce duplication and improve readability. 2019-12-06 23:59:23 +00:00
syscalls.conf
syscalls.master Jail and capability mode for shm_rename; add audit support for shm_rename 2019-11-18 13:31:16 +00:00