diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-04-17 05:24:25 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-04-17 05:24:25 +0000 |
commit | 1417d9fd38968b85b80138ecf619d0cc8c197cc0 (patch) | |
tree | f533c3347d6ce030d053fe836a0e08fe5db5f80e /sys/compat/linux/linux_exec.c | |
parent | 61c97d6369b446092078e0e99a5541a8ee8b9417 (diff) |
Good fixes and changes from latest Net.
Diffstat (limited to 'sys/compat/linux/linux_exec.c')
-rw-r--r-- | sys/compat/linux/linux_exec.c | 11 |
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, |