Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7-1]: src/sys Apply patch (requested by maxv in ticket #1499):
details: https://anonhg.NetBSD.org/src/rev/d76f9fabf66e
branches: netbsd-7-1
changeset: 800865:d76f9fabf66e
user: snj <snj%NetBSD.org@localhost>
date: Sun Feb 25 21:15:38 2018 +0000
description:
Apply patch (requested by maxv in ticket #1499):
- disable compat_svr4 and compat_svr4_32 everywhere
- disable compat_ibcs2 everywhere but on Vax
- remove svr4/svr4_32/ibcs2/freebsd from the module autoload list
diffstat:
sys/arch/amiga/conf/DRACO | 6 +++---
sys/arch/amiga/conf/GENERIC | 6 +++---
sys/arch/amiga/conf/GENERIC.in | 6 +++---
sys/arch/i386/conf/GENERIC | 8 ++++----
sys/arch/i386/conf/XEN3_DOM0 | 6 +++---
sys/arch/i386/conf/XEN3_DOMU | 6 +++---
sys/arch/sparc/conf/GENERIC | 6 +++---
sys/arch/sparc/conf/KRUPS | 6 +++---
sys/arch/sparc/conf/MRCOFFEE | 6 +++---
sys/arch/sparc/conf/TADPOLE3GX | 4 ++--
sys/arch/sparc64/conf/GENERIC | 8 ++++----
sys/arch/sparc64/conf/NONPLUS64 | 8 ++++----
sys/kern/kern_exec.c | 8 ++------
13 files changed, 40 insertions(+), 44 deletions(-)
diffs (truncated from 337 to 300 lines):
diff -r a9331d031ceb -r d76f9fabf66e sys/arch/amiga/conf/DRACO
--- a/sys/arch/amiga/conf/DRACO Sat Feb 24 18:30:46 2018 +0000
+++ b/sys/arch/amiga/conf/DRACO Sun Feb 25 21:15:38 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: DRACO,v 1.175 2014/07/05 10:00:42 tsutsui Exp $
+# $NetBSD: DRACO,v 1.175.8.1 2018/02/25 21:15:38 snj Exp $
#
# This file was automatically created.
# Changes will be lost when make is run in this directory.
@@ -29,7 +29,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.175 $"
+#ident "GENERIC-$Revision: 1.175.8.1 $"
makeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk
@@ -140,7 +140,7 @@
options COMPAT_50 # NetBSD 5.0 compatibility.
options COMPAT_60 # NetBSD 6.0 compatibility.
options COMPAT_SUNOS # Support to run Sun (m68k) executables
-options COMPAT_SVR4 # Support to run SVR4 (m68k) executables
+#options COMPAT_SVR4 # Support to run SVR4 (m68k) executables
options COMPAT_NOMID # allow nonvalid machine id executables
#options COMPAT_LINUX # Support to run Linux/m68k executables
diff -r a9331d031ceb -r d76f9fabf66e sys/arch/amiga/conf/GENERIC
--- a/sys/arch/amiga/conf/GENERIC Sat Feb 24 18:30:46 2018 +0000
+++ b/sys/arch/amiga/conf/GENERIC Sun Feb 25 21:15:38 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.307.2.2 2014/11/18 19:05:28 snj Exp $
+# $NetBSD: GENERIC,v 1.307.2.2.6.1 2018/02/25 21:15:38 snj Exp $
#
# This file was automatically created.
# Changes will be lost when make is run in this directory.
@@ -29,7 +29,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.307.2.2 $"
+#ident "GENERIC-$Revision: 1.307.2.2.6.1 $"
makeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk
@@ -153,7 +153,7 @@
options COMPAT_50 # NetBSD 5.0 compatibility.
options COMPAT_60 # NetBSD 6.0 compatibility.
options COMPAT_SUNOS # Support to run Sun (m68k) executables
-options COMPAT_SVR4 # Support to run SVR4 (m68k) executables
+#options COMPAT_SVR4 # Support to run SVR4 (m68k) executables
options COMPAT_NOMID # allow nonvalid machine id executables
#options COMPAT_LINUX # Support to run Linux/m68k executables
diff -r a9331d031ceb -r d76f9fabf66e sys/arch/amiga/conf/GENERIC.in
--- a/sys/arch/amiga/conf/GENERIC.in Sat Feb 24 18:30:46 2018 +0000
+++ b/sys/arch/amiga/conf/GENERIC.in Sun Feb 25 21:15:38 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC.in,v 1.125.2.2 2014/11/18 19:05:28 snj Exp $
+# $NetBSD: GENERIC.in,v 1.125.2.2.6.1 2018/02/25 21:15:38 snj Exp $
#
##
# GENERIC machine description file
@@ -52,7 +52,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.125.2.2 $"
+#ident "GENERIC-$Revision: 1.125.2.2.6.1 $"
m4_ifdef(`INSTALL_CONFIGURATION', `m4_dnl
makeoptions COPTS="-Os"
@@ -195,7 +195,7 @@
options COMPAT_50 # NetBSD 5.0 compatibility.
options COMPAT_60 # NetBSD 6.0 compatibility.
options COMPAT_SUNOS # Support to run Sun (m68k) executables
-options COMPAT_SVR4 # Support to run SVR4 (m68k) executables
+#options COMPAT_SVR4 # Support to run SVR4 (m68k) executables
options COMPAT_NOMID # allow nonvalid machine id executables
#options COMPAT_LINUX # Support to run Linux/m68k executables
')m4_dnl
diff -r a9331d031ceb -r d76f9fabf66e sys/arch/i386/conf/GENERIC
--- a/sys/arch/i386/conf/GENERIC Sat Feb 24 18:30:46 2018 +0000
+++ b/sys/arch/i386/conf/GENERIC Sun Feb 25 21:15:38 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1107.2.9.2.1 2017/08/24 06:51:17 snj Exp $
+# $NetBSD: GENERIC,v 1.1107.2.9.2.2 2018/02/25 21:15:38 snj Exp $
#
# GENERIC machine description file
#
@@ -22,7 +22,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.1107.2.9.2.1 $"
+#ident "GENERIC-$Revision: 1.1107.2.9.2.2 $"
maxusers 64 # estimated number of users
@@ -144,8 +144,8 @@
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-options COMPAT_SVR4 # binary compatibility with SVR4
-options COMPAT_IBCS2 # binary compatibility with SCO and ISC
+#options COMPAT_SVR4 # binary compatibility with SVR4
+#options COMPAT_IBCS2 # binary compatibility with SCO and ISC
options COMPAT_LINUX # binary compatibility with Linux
#options COMPAT_FREEBSD # binary compatibility with FreeBSD
#options COMPAT_NDIS # NDIS network driver
diff -r a9331d031ceb -r d76f9fabf66e sys/arch/i386/conf/XEN3_DOM0
--- a/sys/arch/i386/conf/XEN3_DOM0 Sat Feb 24 18:30:46 2018 +0000
+++ b/sys/arch/i386/conf/XEN3_DOM0 Sun Feb 25 21:15:38 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOM0,v 1.85.2.6 2016/12/09 05:10:45 snj Exp $
+# $NetBSD: XEN3_DOM0,v 1.85.2.6.2.1 2018/02/25 21:15:38 snj Exp $
#
# XEN3_0: Xen 3.0 domain0 kernel
@@ -94,8 +94,8 @@
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-options COMPAT_SVR4 # binary compatibility with SVR4
-options COMPAT_IBCS2 # binary compatibility with SCO and ISC
+#options COMPAT_SVR4 # binary compatibility with SVR4
+#options COMPAT_IBCS2 # binary compatibility with SCO and ISC
options COMPAT_LINUX # binary compatibility with Linux
#options COMPAT_FREEBSD # binary compatibility with FreeBSD
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
diff -r a9331d031ceb -r d76f9fabf66e sys/arch/i386/conf/XEN3_DOMU
--- a/sys/arch/i386/conf/XEN3_DOMU Sat Feb 24 18:30:46 2018 +0000
+++ b/sys/arch/i386/conf/XEN3_DOMU Sun Feb 25 21:15:38 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.59.2.5 2015/07/22 16:53:34 snj Exp $
+# $NetBSD: XEN3_DOMU,v 1.59.2.5.6.1 2018/02/25 21:15:38 snj Exp $
include "arch/xen/conf/std.xen"
@@ -80,8 +80,8 @@
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-options COMPAT_SVR4 # binary compatibility with SVR4
-options COMPAT_IBCS2 # binary compatibility with SCO and ISC
+#options COMPAT_SVR4 # binary compatibility with SVR4
+#options COMPAT_IBCS2 # binary compatibility with SCO and ISC
options COMPAT_LINUX # binary compatibility with Linux
#options COMPAT_FREEBSD # binary compatibility with FreeBSD
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
diff -r a9331d031ceb -r d76f9fabf66e sys/arch/sparc/conf/GENERIC
--- a/sys/arch/sparc/conf/GENERIC Sat Feb 24 18:30:46 2018 +0000
+++ b/sys/arch/sparc/conf/GENERIC Sun Feb 25 21:15:38 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.243.4.3 2015/05/15 03:44:19 snj Exp $
+# $NetBSD: GENERIC,v 1.243.4.3.6.1 2018/02/25 21:15:39 snj Exp $
#
# GENERIC machine description file
#
@@ -22,7 +22,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.243.4.3 $"
+#ident "GENERIC-$Revision: 1.243.4.3.6.1 $"
maxusers 32
@@ -184,7 +184,7 @@
options COMPAT_50 # NetBSD 5.0 binary compatibility
options COMPAT_60 # NetBSD 6.0 compatibility.
options COMPAT_SUNOS # SunOS 4.x binary compatibility
-options COMPAT_SVR4 # SunOS 5.x binary compatibility
+#options COMPAT_SVR4 # SunOS 5.x binary compatibility
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
## File systems. You probably need at least one of FFS or NFS.
diff -r a9331d031ceb -r d76f9fabf66e sys/arch/sparc/conf/KRUPS
--- a/sys/arch/sparc/conf/KRUPS Sat Feb 24 18:30:46 2018 +0000
+++ b/sys/arch/sparc/conf/KRUPS Sun Feb 25 21:15:38 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: KRUPS,v 1.66 2014/03/24 14:15:38 szptvlfn Exp $
+# $NetBSD: KRUPS,v 1.66.10.1 2018/02/25 21:15:39 snj Exp $
# From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
#
# Krups (JavaStation-NC) machine description file
@@ -8,7 +8,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "KRUPS-$Revision: 1.66 $"
+#ident "KRUPS-$Revision: 1.66.10.1 $"
maxusers 32
@@ -181,7 +181,7 @@
options COMPAT_30 # NetBSD 3.0 binary compatibility
options COMPAT_40 # NetBSD 4.0 binary compatibility
options COMPAT_SUNOS # SunOS 4.x binary compatibility
-options COMPAT_SVR4 # SunOS 5.x binary compatibility
+#options COMPAT_SVR4 # SunOS 5.x binary compatibility
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
## File systems. You probably need at least one of FFS or NFS.
diff -r a9331d031ceb -r d76f9fabf66e sys/arch/sparc/conf/MRCOFFEE
--- a/sys/arch/sparc/conf/MRCOFFEE Sat Feb 24 18:30:46 2018 +0000
+++ b/sys/arch/sparc/conf/MRCOFFEE Sun Feb 25 21:15:38 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MRCOFFEE,v 1.45 2014/03/24 14:15:38 szptvlfn Exp $
+# $NetBSD: MRCOFFEE,v 1.45.10.1 2018/02/25 21:15:39 snj Exp $
# From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
#
# Mr.Coffee (JavaStation 1) machine description file
@@ -12,7 +12,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "MRCOFFEE-$Revision: 1.45 $"
+#ident "MRCOFFEE-$Revision: 1.45.10.1 $"
maxusers 32
@@ -164,7 +164,7 @@
options COMPAT_50 # NetBSD 5.0 binary compatibility
options COMPAT_60 # NetBSD 6.0 compatibility.
options COMPAT_SUNOS # SunOS 4.x binary compatibility
-options COMPAT_SVR4 # SunOS 5.x binary compatibility
+#options COMPAT_SVR4 # SunOS 5.x binary compatibility
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
## File systems. You probably need at least one of FFS or NFS.
diff -r a9331d031ceb -r d76f9fabf66e sys/arch/sparc/conf/TADPOLE3GX
--- a/sys/arch/sparc/conf/TADPOLE3GX Sat Feb 24 18:30:46 2018 +0000
+++ b/sys/arch/sparc/conf/TADPOLE3GX Sun Feb 25 21:15:38 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: TADPOLE3GX,v 1.61.4.2 2014/11/18 19:05:31 snj Exp $
+# $NetBSD: TADPOLE3GX,v 1.61.4.2.6.1 2018/02/25 21:15:39 snj Exp $
include "arch/sparc/conf/std.sparc"
@@ -145,7 +145,7 @@
options COMPAT_50 # NetBSD 5.0 binary compatibility
options COMPAT_60 # NetBSD 6.0 compatibility.
options COMPAT_SUNOS # SunOS 4.x binary compatibility
-options COMPAT_SVR4 # SunOS 5.x binary compatibility
+#options COMPAT_SVR4 # SunOS 5.x binary compatibility
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
diff -r a9331d031ceb -r d76f9fabf66e sys/arch/sparc64/conf/GENERIC
--- a/sys/arch/sparc64/conf/GENERIC Sat Feb 24 18:30:46 2018 +0000
+++ b/sys/arch/sparc64/conf/GENERIC Sun Feb 25 21:15:38 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.171.4.4 2015/05/15 03:44:19 snj Exp $
+# $NetBSD: GENERIC,v 1.171.4.4.6.1 2018/02/25 21:15:39 snj Exp $
#
# GENERIC machine description file
#
@@ -22,7 +22,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.171.4.4 $"
+#ident "GENERIC-$Revision: 1.171.4.4.6.1 $"
maxusers 64
@@ -153,8 +153,8 @@
options COMPAT_50 # NetBSD 5.0 compatibility.
options COMPAT_60 # NetBSD 6.0 compatibility.
options COMPAT_SUNOS # SunOS 4.x binary compatibility
-options COMPAT_SVR4 # SunOS 5.x binary compatibility
-options COMPAT_SVR4_32 # SunOS 5.x 32-bit binary compatibility -- 64-bit only
+#options COMPAT_SVR4 # SunOS 5.x binary compatibility
+#options COMPAT_SVR4_32 # SunOS 5.x 32-bit binary compatibility -- 64-bit only
options COMPAT_NETBSD32 # NetBSD/sparc binary compatibility -- 64-bit only
options EXEC_AOUT # execve(2) support for a.out binaries
options EXEC_ELF32 # Exec module for SunOS 5.x binaries.
diff -r a9331d031ceb -r d76f9fabf66e sys/arch/sparc64/conf/NONPLUS64
--- a/sys/arch/sparc64/conf/NONPLUS64 Sat Feb 24 18:30:46 2018 +0000
+++ b/sys/arch/sparc64/conf/NONPLUS64 Sun Feb 25 21:15:38 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: NONPLUS64,v 1.41.4.2 2014/11/18 19:05:32 snj Exp $
+# $NetBSD: NONPLUS64,v 1.41.4.2.6.1 2018/02/25 21:15:39 snj Exp $
include "arch/sparc64/conf/std.sparc64"
-#ident "NONPLUS64-$Revision: 1.41.4.2 $"
+#ident "NONPLUS64-$Revision: 1.41.4.2.6.1 $"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
@@ -119,8 +119,8 @@
options COMPAT_30 # NetBSD 3.0 compatibility.
options COMPAT_40 # NetBSD 4.0 compatibility.
options COMPAT_SUNOS # SunOS 4.x binary compatibility
-options COMPAT_SVR4 # SunOS 5.x binary compatibility
-options COMPAT_SVR4_32 # 32-bit SVR4 binaries
+#options COMPAT_SVR4 # SunOS 5.x binary compatibility
+#options COMPAT_SVR4_32 # 32-bit SVR4 binaries
Home |
Main Index |
Thread Index |
Old Index