Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src Apply patch (requested by maxv in ticket #1499):
details: https://anonhg.NetBSD.org/src/rev/f46af5c13150
branches: netbsd-7
changeset: 800429:f46af5c13150
user: snj <snj%NetBSD.org@localhost>
date: Sun Feb 25 21:15:52 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:
doc/CHANGES-7.2 | 21 ++++++++++++++++++++-
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 ++------
14 files changed, 60 insertions(+), 45 deletions(-)
diffs (truncated from 369 to 300 lines):
diff -r 236f1c896ba4 -r f46af5c13150 doc/CHANGES-7.2
--- a/doc/CHANGES-7.2 Sat Feb 24 18:30:56 2018 +0000
+++ b/doc/CHANGES-7.2 Sun Feb 25 21:15:52 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-7.2,v 1.1.2.72 2018/02/24 18:30:56 snj Exp $
+# $NetBSD: CHANGES-7.2,v 1.1.2.73 2018/02/25 21:15:52 snj Exp $
A complete list of changes from the NetBSD 7.1 release to the NetBSD 7.2
release:
@@ -5223,3 +5223,22 @@
Fix several memory corruptions and inconsistencies in MPLS.
[maxv, ticket #1571]
+sys/arch/amiga/conf/DRACO patch
+sys/arch/amiga/conf/GENERIC patch
+sys/arch/amiga/conf/GENERIC.in patch
+sys/arch/i386/conf/GENERIC patch
+sys/arch/i386/conf/XEN3_DOM0 patch
+sys/arch/i386/conf/XEN3_DOMU patch
+sys/arch/sparc/conf/GENERIC patch
+sys/arch/sparc/conf/KRUPS patch
+sys/arch/sparc/conf/MRCOFFEE patch
+sys/arch/sparc/conf/TADPOLE3GX patch
+sys/arch/sparc64/conf/GENERIC patch
+sys/arch/sparc64/conf/NONPLUS64 patch
+sys/kern/kern_exec.c patch
+
+ - 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
+ [maxv, ticket #1499]
+
diff -r 236f1c896ba4 -r f46af5c13150 sys/arch/amiga/conf/DRACO
--- a/sys/arch/amiga/conf/DRACO Sat Feb 24 18:30:56 2018 +0000
+++ b/sys/arch/amiga/conf/DRACO Sun Feb 25 21:15:52 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: DRACO,v 1.175 2014/07/05 10:00:42 tsutsui Exp $
+# $NetBSD: DRACO,v 1.175.2.1 2018/02/25 21:16:07 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.2.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 236f1c896ba4 -r f46af5c13150 sys/arch/amiga/conf/GENERIC
--- a/sys/arch/amiga/conf/GENERIC Sat Feb 24 18:30:56 2018 +0000
+++ b/sys/arch/amiga/conf/GENERIC Sun Feb 25 21:15:52 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.3 2018/02/25 21:16:07 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.3 $"
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 236f1c896ba4 -r f46af5c13150 sys/arch/amiga/conf/GENERIC.in
--- a/sys/arch/amiga/conf/GENERIC.in Sat Feb 24 18:30:56 2018 +0000
+++ b/sys/arch/amiga/conf/GENERIC.in Sun Feb 25 21:15:52 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.3 2018/02/25 21:16:07 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.3 $"
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 236f1c896ba4 -r f46af5c13150 sys/arch/i386/conf/GENERIC
--- a/sys/arch/i386/conf/GENERIC Sat Feb 24 18:30:56 2018 +0000
+++ b/sys/arch/i386/conf/GENERIC Sun Feb 25 21:15:52 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1107.2.12 2017/08/24 06:52:06 snj Exp $
+# $NetBSD: GENERIC,v 1.1107.2.13 2018/02/25 21:16:07 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.12 $"
+#ident "GENERIC-$Revision: 1.1107.2.13 $"
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 236f1c896ba4 -r f46af5c13150 sys/arch/i386/conf/XEN3_DOM0
--- a/sys/arch/i386/conf/XEN3_DOM0 Sat Feb 24 18:30:56 2018 +0000
+++ b/sys/arch/i386/conf/XEN3_DOM0 Sun Feb 25 21:15:52 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOM0,v 1.85.2.9 2017/07/08 17:04:21 snj Exp $
+# $NetBSD: XEN3_DOM0,v 1.85.2.10 2018/02/25 21:16:07 snj Exp $
#
# XEN3_0: Xen 3.0 domain0 kernel
@@ -96,8 +96,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 236f1c896ba4 -r f46af5c13150 sys/arch/i386/conf/XEN3_DOMU
--- a/sys/arch/i386/conf/XEN3_DOMU Sat Feb 24 18:30:56 2018 +0000
+++ b/sys/arch/i386/conf/XEN3_DOMU Sun Feb 25 21:15:52 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.6 2018/02/25 21:16:07 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 236f1c896ba4 -r f46af5c13150 sys/arch/sparc/conf/GENERIC
--- a/sys/arch/sparc/conf/GENERIC Sat Feb 24 18:30:56 2018 +0000
+++ b/sys/arch/sparc/conf/GENERIC Sun Feb 25 21:15:52 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.4 2018/02/25 21:16:07 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.4 $"
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 236f1c896ba4 -r f46af5c13150 sys/arch/sparc/conf/KRUPS
--- a/sys/arch/sparc/conf/KRUPS Sat Feb 24 18:30:56 2018 +0000
+++ b/sys/arch/sparc/conf/KRUPS Sun Feb 25 21:15:52 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: KRUPS,v 1.66 2014/03/24 14:15:38 szptvlfn Exp $
+# $NetBSD: KRUPS,v 1.66.4.1 2018/02/25 21:16:07 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.4.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 236f1c896ba4 -r f46af5c13150 sys/arch/sparc/conf/MRCOFFEE
--- a/sys/arch/sparc/conf/MRCOFFEE Sat Feb 24 18:30:56 2018 +0000
+++ b/sys/arch/sparc/conf/MRCOFFEE Sun Feb 25 21:15:52 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MRCOFFEE,v 1.45 2014/03/24 14:15:38 szptvlfn Exp $
+# $NetBSD: MRCOFFEE,v 1.45.4.1 2018/02/25 21:16:07 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.4.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 236f1c896ba4 -r f46af5c13150 sys/arch/sparc/conf/TADPOLE3GX
--- a/sys/arch/sparc/conf/TADPOLE3GX Sat Feb 24 18:30:56 2018 +0000
+++ b/sys/arch/sparc/conf/TADPOLE3GX Sun Feb 25 21:15:52 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.3 2018/02/25 21:16:07 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 236f1c896ba4 -r f46af5c13150 sys/arch/sparc64/conf/GENERIC
--- a/sys/arch/sparc64/conf/GENERIC Sat Feb 24 18:30:56 2018 +0000
+++ b/sys/arch/sparc64/conf/GENERIC Sun Feb 25 21:15:52 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.5 2018/02/25 21:16:07 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.5 $"
maxusers 64
@@ -153,8 +153,8 @@
Home |
Main Index |
Thread Index |
Old Index