summaryrefslogtreecommitdiff
path: root/sys/kern/exec_elf.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-06-12 04:33:38 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-06-12 04:33:38 +0000
commit5ee8b71a7e9189df588f4dcda2872d2612fc9b0d (patch)
treebcadc6db70349bc34cde9c4269fcb3ab25623764 /sys/kern/exec_elf.c
parent686fb6d90a55f9fc0f6cf0969e65468738f5ca47 (diff)
Reorder foreign binaries probe list, so that more permissive ones are at the
end. Makes static linux binaries run again.
Diffstat (limited to 'sys/kern/exec_elf.c')
-rw-r--r--sys/kern/exec_elf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c
index 867ec63027b..a65ceb374d0 100644
--- a/sys/kern/exec_elf.c
+++ b/sys/kern/exec_elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.c,v 1.63 2008/06/07 17:19:28 miod Exp $ */
+/* $OpenBSD: exec_elf.c,v 1.64 2008/06/12 04:33:37 miod Exp $ */
/*
* Copyright (c) 1996 Per Fogelstrom
@@ -75,12 +75,12 @@ struct ELFNAME(probe_entry) {
#ifdef COMPAT_FREEBSD
{ freebsd_elf_probe },
#endif
-#ifdef COMPAT_SVR4
- { svr4_elf_probe },
-#endif
#ifdef COMPAT_LINUX
{ linux_elf_probe },
#endif
+#ifdef COMPAT_SVR4
+ { svr4_elf_probe },
+#endif
{ NULL }
};