summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_exec.c
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>1996-04-17 05:23:40 +0000
committermickey <mickey@openbsd.org>1996-04-17 05:23:40 +0000
commit575021aa90409e1fec01e80d1ecb75be4ec213f1 (patch)
treee2c61190c9cd5b806ebd4b4c7ea0d149ce5e9d79 /sys/compat/linux/linux_exec.c
parentCleanups & fixes from latest NetBSD primarily to run doscmd, etc. (diff)
downloadwireguard-openbsd-575021aa90409e1fec01e80d1ecb75be4ec213f1.tar.xz
wireguard-openbsd-575021aa90409e1fec01e80d1ecb75be4ec213f1.zip
Good fixes and changes from latest Net.
Diffstat (limited to 'sys/compat/linux/linux_exec.c')
-rw-r--r--sys/compat/linux/linux_exec.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_exec.c b/sys/compat/linux/linux_exec.c
index cc266db42bd..8221564ad73 100644
--- a/sys/compat/linux/linux_exec.c
+++ b/sys/compat/linux/linux_exec.c
@@ -1,4 +1,5 @@
-/* $NetBSD: linux_exec.c,v 1.12 1995/10/07 06:27:00 mycroft Exp $ */
+/* $OpenBSD: linux_exec.c,v 1.2 1996/04/17 05:23:46 mickey Exp $ */
+/* $NetBSD: linux_exec.c,v 1.13 1996/04/05 00:01:10 christos Exp $ */
/*
* Copyright (c) 1995 Frank van der Linden
@@ -37,9 +38,12 @@
#include <sys/malloc.h>
#include <sys/namei.h>
#include <sys/vnode.h>
+#include <sys/mount.h>
#include <sys/exec_elf.h>
#include <sys/mman.h>
+#include <sys/syscallargs.h>
+
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_map.h>
@@ -69,6 +73,11 @@ extern char linux_sigcode[], linux_esigcode[];
extern struct sysent linux_sysent[];
extern char *linux_syscallnames[];
+int exec_linux_aout_prep_zmagic __P((struct proc *, struct exec_package *));
+int exec_linux_aout_prep_nmagic __P((struct proc *, struct exec_package *));
+int exec_linux_aout_prep_omagic __P((struct proc *, struct exec_package *));
+int exec_linux_aout_prep_qmagic __P((struct proc *, struct exec_package *));
+
struct emul emul_linux_aout = {
"linux",
linux_error,