diff options
author | 1999-09-27 11:10:30 +0000 | |
---|---|---|
committer | 1999-09-27 11:10:30 +0000 | |
commit | 3e9cbd4ef898bcff509951a31f753eb4eb802f77 (patch) | |
tree | a5222e67bb9325b4bd2f130f385abdb5e1954c6a /sys/kern/exec_elf64.c | |
parent | More glue (diff) | |
download | wireguard-openbsd-3e9cbd4ef898bcff509951a31f753eb4eb802f77.tar.xz wireguard-openbsd-3e9cbd4ef898bcff509951a31f753eb4eb802f77.zip |
do not attempt to run NetBSD binaries using native emul
Diffstat (limited to 'sys/kern/exec_elf64.c')
-rw-r--r-- | sys/kern/exec_elf64.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/exec_elf64.c b/sys/kern/exec_elf64.c index fff9dbec21b..6366b671bbe 100644 --- a/sys/kern/exec_elf64.c +++ b/sys/kern/exec_elf64.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_elf64.c,v 1.6 1999/09/25 11:43:29 kstailey Exp $ */ +/* $OpenBSD: exec_elf64.c,v 1.7 1999/09/27 11:10:30 kstailey Exp $ */ /* * Copyright (c) 1996 Per Fogelstrom @@ -94,7 +94,9 @@ struct elf64_probe_entry { #ifdef COMPAT_NETBSD { netbsd_elf64_probe, 1 << OOS_NETBSD }, #endif +#ifdef NATIVE_ELF { 0, 1 << OOS_OPENBSD } +#endif }; int elf64_load_file __P((struct proc *, char *, struct exec_package *, |