freebsd-dev/sys/amd64/linux32
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
..
linux32_dummy.c Update comments and ordering in linux*_dummy.c 2019-09-11 17:56:48 +00:00
linux32_genassym.c Implement vdso - virtual dynamic shared object. Through vdso Linux 2015-05-24 15:28:17 +00:00
linux32_locore.asm linuxulator: rename linux_locore.s to .asm 2019-07-30 17:18:31 +00:00
linux32_machdep.c Remove resolver_qual from DEFINE_IFUNC/DEFINE_UIFUNC macros. 2019-05-16 22:20:54 +00:00
linux32_proto.h sysent: regenerate after r352693 2019-09-25 17:30:28 +00:00
linux32_support.s Futex support functions in linux.ko and linux32.ko on amd64 should be 2018-08-07 18:29:10 +00:00
linux32_syscall.h make sysent after r347228 2019-05-07 18:10:21 +00:00
linux32_syscalls.c make sysent after r347228 2019-05-07 18:10:21 +00:00
linux32_sysent.c make sysent after r347228 2019-05-07 18:10:21 +00:00
linux32_systrace_args.c regen linuxulator sysent after r352208 2019-09-11 12:58:53 +00:00
linux32_sysvec.c Copy out aux args after the argument and environment vectors. 2019-12-09 19:17:28 +00:00
linux32_vdso.lds.s Put linux_platform into the vdso to avoid copying it onto the stack at 2015-05-24 15:30:52 +00:00
linux.h Linuxulator depends on a fundamental kernel settings such as SMP. Many 2019-05-13 18:24:29 +00:00
Makefile sysent: Reduce duplication and improve readability. 2019-12-06 23:59:23 +00:00
syscalls.conf Rename remaining linux32 symbols such as linux_sysent[] and 2015-10-22 21:28:20 +00:00
syscalls.master make linux_renameat2 args consistent with linux_renameat 2019-09-11 12:58:06 +00:00