mirror of
https://github.com/opnsense/src.git
synced 2026-05-26 19:23:04 -04:00
Instead, construct an auxargs array and copy it out all at once. Use an array of Elf_Auxinfo rather than pairs of Elf_Addr * to represent the array. This is the correct type where pairs of words just happend to work. To reduce the size of the diff, AUXARGS_ENTRY is altered to act on this array rather than introducing a new macro. Return errors on copyout() and suword() failures and handle them in the caller. Incidentally fixes AT_RANDOM and AT_EXECFN in 32-bit linux on amd64 which incorrectly used AUXARG_ENTRY instead of AUXARGS_ENTRY_32 (now removed due to the use of proper types). Reviewed by: kib Comments from: emaste, jhb Obtained from: CheriBSD Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D15485 |
||
|---|---|---|
| .. | ||
| linux.h | ||
| linux_dummy.c | ||
| linux_genassym.c | ||
| linux_locore.s | ||
| linux_machdep.c | ||
| linux_proto.h | ||
| linux_ptrace.c | ||
| linux_support.s | ||
| linux_syscall.h | ||
| linux_syscalls.c | ||
| linux_sysent.c | ||
| linux_systrace_args.c | ||
| linux_sysvec.c | ||
| linux_vdso.lds.s | ||
| Makefile | ||
| syscalls.conf | ||
| syscalls.master | ||