summaryrefslogtreecommitdiff
path: root/sys/compat/freebsd/freebsd_exec.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>2001-02-02 05:21:48 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>2001-02-02 05:21:48 +0000
commit47925fc05ff6b8b009de1100cb4546f158b67e63 (patch)
tree2a367d43445cef5a55fe16b91393339cfeacc084 /sys/compat/freebsd/freebsd_exec.c
parent7cbff969e63386248de04c8ffeb65ef022f047a2 (diff)
Correct setup for running ELF binaries from FreeBSD; ok deraadt@
Diffstat (limited to 'sys/compat/freebsd/freebsd_exec.c')
-rw-r--r--sys/compat/freebsd/freebsd_exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/freebsd/freebsd_exec.c b/sys/compat/freebsd/freebsd_exec.c
index 350b9612031..9cc2371d228 100644
--- a/sys/compat/freebsd/freebsd_exec.c
+++ b/sys/compat/freebsd/freebsd_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: freebsd_exec.c,v 1.8 1999/11/10 15:55:20 mickey Exp $ */
+/* $OpenBSD: freebsd_exec.c,v 1.9 2001/02/02 05:21:47 tholo Exp $ */
/* $NetBSD: freebsd_exec.c,v 1.2 1996/05/18 16:02:08 christos Exp $ */
/*
@@ -87,8 +87,8 @@ struct emul emul_elf_freebsd = {
#else
NULL,
#endif
- 0,
- copyargs,
+ FREEBSD_ELF_AUX_ARGSIZ,
+ elf_copyargs,
setregs,
NULL,
freebsd_sigcode,