summaryrefslogtreecommitdiffstats
path: root/sys/compat/netbsd/netbsd_exec.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-09-21 15:44:10 +0000
committerart <art@openbsd.org>2001-09-21 15:44:10 +0000
commit7aecaaf04a96c458a823e0ea7f644594a59d7e09 (patch)
treee639e98d56c3a8959d8caf1a35767a4c23a7bb98 /sys/compat/netbsd/netbsd_exec.c
parentregen (diff)
downloadwireguard-openbsd-7aecaaf04a96c458a823e0ea7f644594a59d7e09.tar.xz
wireguard-openbsd-7aecaaf04a96c458a823e0ea7f644594a59d7e09.zip
Save some space on the stack for AuxInfo. Dynamic binaries now have the correct argv.
Diffstat (limited to 'sys/compat/netbsd/netbsd_exec.c')
-rw-r--r--sys/compat/netbsd/netbsd_exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/netbsd/netbsd_exec.c b/sys/compat/netbsd/netbsd_exec.c
index 158be318f28..843d55d9a87 100644
--- a/sys/compat/netbsd/netbsd_exec.c
+++ b/sys/compat/netbsd/netbsd_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netbsd_exec.c,v 1.7 2001/08/11 23:21:14 art Exp $ */
+/* $OpenBSD: netbsd_exec.c,v 1.8 2001/09/21 15:44:10 art Exp $ */
/* $NetBSD: svr4_exec.c,v 1.16 1995/10/14 20:24:20 christos Exp $ */
/*
@@ -73,7 +73,7 @@ struct emul emul_elf64_netbsd = {
#else
NULL,
#endif
- 0,
+ ELF_AUX_ENTRIES * sizeof(Aux64Info),
netbsd_elf64_copyargs,
setregs,
exec_elf64_fixup,