summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-09-21 15:44:11 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-09-21 15:44:11 +0000
commit6545305000545b4558814a91de8ba80cb14ffae0 (patch)
tree81c8d1e637e010b34a63171ae434f253914c5152
parenta41791a079120a320ce5ccf414ec156550b13803 (diff)
Save some space on the stack for AuxInfo. Dynamic binaries now have the correct argv.
-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,