Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Move netbsd32_exec BEFORE normal 32-bit exec so 32-...
details: https://anonhg.NetBSD.org/src/rev/e1588562ef51
branches: trunk
changeset: 480016:e1588562ef51
user: eeh <eeh%NetBSD.org@localhost>
date: Thu Dec 30 15:57:31 1999 +0000
description:
Move netbsd32_exec BEFORE normal 32-bit exec so 32-bit binaries are not executed
on 64-bit kernels without emulation mode.
diffstat:
sys/kern/exec_conf.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 3e6ecdfea576 -r e1588562ef51 sys/kern/exec_conf.c
--- a/sys/kern/exec_conf.c Thu Dec 30 15:53:09 1999 +0000
+++ b/sys/kern/exec_conf.c Thu Dec 30 15:57:31 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_conf.c,v 1.38 1999/10/25 13:55:06 kleink Exp $ */
+/* $NetBSD: exec_conf.c,v 1.39 1999/12/30 15:57:31 eeh Exp $ */
/*
* Copyright (c) 1993, 1994 Christopher G. Demetriou
@@ -118,6 +118,9 @@
{ MAXINTERP, exec_script_makecmds, }, /* shell scripts */
#endif
#ifdef EXEC_AOUT
+#ifdef COMPAT_NETBSD32
+ { sizeof(struct netbsd32_exec), exec_netbsd32_makecmds, }, /* sparc 32 bit */
+#endif
# ifdef COMPAT_AOUT
{ sizeof(struct exec), exec_aoutcompat_makecmds, },/* compat a.out */
# else
@@ -157,9 +160,6 @@
#ifdef COMPAT_M68K4K
{ sizeof(struct exec), exec_m68k4k_makecmds, }, /* m68k4k a.out */
#endif
-#ifdef COMPAT_NETBSD32
- { sizeof(struct netbsd32_exec), exec_netbsd32_makecmds, }, /* sparc 32 bit */
-#endif
#ifdef COMPAT_VAX1K
{ sizeof(struct exec), exec_vax1k_makecmds, }, /* vax1k a.out */
#endif
Home |
Main Index |
Thread Index |
Old Index