diff options
author | 2008-06-12 04:33:37 +0000 | |
---|---|---|
committer | 2008-06-12 04:33:37 +0000 | |
commit | 78ca33dcb57e24d1914c21ace99b6ed8b445f2bc (patch) | |
tree | ebd818784a018b2e8c58c831721817447d49cf2a /sys/kern/exec_elf.c | |
parent | Do not attempt to recognize foreign ELF binaries if emulation is disabled; (diff) | |
download | wireguard-openbsd-78ca33dcb57e24d1914c21ace99b6ed8b445f2bc.tar.xz wireguard-openbsd-78ca33dcb57e24d1914c21ace99b6ed8b445f2bc.zip |
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.c | 8 |
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 } }; |