summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1999-09-27 11:10:31 +0000
committerkstailey <kstailey@cvs.openbsd.org>1999-09-27 11:10:31 +0000
commitc6eee78357b27aeb48a6b98c92909ae6499b76ab (patch)
tree7c713b46bf88666f2ce1b33f3d7dc6b9dcd0bd68 /sys/kern
parent68bb7fe5f9dc367db1ce0d52562677491117b558 (diff)
do not attempt to run NetBSD binaries using native emul
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/exec_elf64.c4
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 *,