diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2004-04-15 00:22:43 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2004-04-15 00:22:43 +0000 |
commit | 7f6fbd890eb0bd6c51d0d092bf164d9ed9eb1ae2 (patch) | |
tree | ea4ade38631fd2cba0c24d4fdcc32f79e4bcbfea /sys/compat/linux/linux_exec.c | |
parent | 12bc384ca1a43705d46f61cd2589ec43f75a1d2d (diff) |
rework access to emulations slightly in an effort to both merge and
separate exec format from emulation. consistent naming of freebsd emuls.
not much in the way of functional changes yet.
testing and ok deraadt@ and others along the way.
Diffstat (limited to 'sys/compat/linux/linux_exec.c')
-rw-r--r-- | sys/compat/linux/linux_exec.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_exec.c b/sys/compat/linux/linux_exec.c index b0203f6f956..7b40114a0ac 100644 --- a/sys/compat/linux/linux_exec.c +++ b/sys/compat/linux/linux_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_exec.c,v 1.22 2003/08/21 18:56:07 tedu Exp $ */ +/* $OpenBSD: linux_exec.c,v 1.23 2004/04/15 00:22:42 tedu Exp $ */ /* $NetBSD: linux_exec.c,v 1.13 1996/04/05 00:01:10 christos Exp $ */ /*- @@ -459,6 +459,14 @@ exec_linux_aout_prep_qmagic(p, epp) } int +exec_linux_elf32_makecmds(struct proc *p, struct exec_package *epp) +{ + if (!(emul_linux_elf.e_flags & EMUL_ENABLED)) + return (ENOEXEC); + return exec_elf32_makecmds(p, epp); +} + +int linux_elf_probe(p, epp, itp, pos, os) struct proc *p; struct exec_package *epp; |