summaryrefslogtreecommitdiff
path: root/sys/compat/common/compat_exec.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-23 02:56:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-23 02:56:51 +0000
commit08918ccc1b6d76dbe0e85948a58510568809d9fa (patch)
tree4c23938c416ce7c5495bb1ca6b5afc22803983d4 /sys/compat/common/compat_exec.c
parente42cb850dbce0cbf3fdd805954c1be4726952eb9 (diff)
use _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary types
Diffstat (limited to 'sys/compat/common/compat_exec.c')
-rw-r--r--sys/compat/common/compat_exec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/common/compat_exec.c b/sys/compat/common/compat_exec.c
index 7e87f833a17..2ce8bc7c576 100644
--- a/sys/compat/common/compat_exec.c
+++ b/sys/compat/common/compat_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compat_exec.c,v 1.2 1996/08/02 20:34:40 niklas Exp $ */
+/* $OpenBSD: compat_exec.c,v 1.3 1996/12/23 02:56:47 deraadt Exp $ */
/* $NetBSD: compat_exec.c,v 1.1 1996/05/18 15:52:21 christos Exp $ */
/*
@@ -93,7 +93,7 @@ exec_aout_prep_oldzmagic(p, epp)
epp->ep_daddr + execp->a_data, NULLVP, 0,
VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE);
- return exec_aout_setup_stack(p, epp);
+ return exec_setup_stack(p, epp);
}
@@ -137,7 +137,7 @@ exec_aout_prep_oldnmagic(p, epp)
NEW_VMCMD(&epp->ep_vmcmds, vmcmd_map_zero, bsize, baddr,
NULLVP, 0, VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE);
- return exec_aout_setup_stack(p, epp);
+ return exec_setup_stack(p, epp);
}
@@ -186,5 +186,5 @@ exec_aout_prep_oldomagic(p, epp)
*/
dsize = epp->ep_dsize + execp->a_text - roundup(execp->a_text, NBPG);
epp->ep_dsize = (dsize > 0) ? dsize : 0;
- return exec_aout_setup_stack(p, epp);
+ return exec_setup_stack(p, epp);
}