Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sgimips/conf Disable COMPAT_IRIX and related code. ...



details:   https://anonhg.NetBSD.org/src/rev/abf5cd24e572
branches:  trunk
changeset: 762927:abf5cd24e572
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Mar 05 23:38:40 2011 +0000

description:
Disable COMPAT_IRIX and related code. The usefulness is under discussion
and code that dereferences pointer into userland without proper checking
needs a full audit.

diffstat:

 sys/arch/sgimips/conf/GENERIC32_IP12 |  10 +++++-----
 sys/arch/sgimips/conf/GENERIC32_IP2x |  10 +++++-----
 sys/arch/sgimips/conf/GENERIC32_IP3x |  10 +++++-----
 3 files changed, 15 insertions(+), 15 deletions(-)

diffs (114 lines):

diff -r 2382f5f3366c -r abf5cd24e572 sys/arch/sgimips/conf/GENERIC32_IP12
--- a/sys/arch/sgimips/conf/GENERIC32_IP12      Sat Mar 05 22:27:21 2011 +0000
+++ b/sys/arch/sgimips/conf/GENERIC32_IP12      Sat Mar 05 23:38:40 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC32_IP12,v 1.8 2010/11/23 11:14:05 hannken Exp $
+#      $NetBSD: GENERIC32_IP12,v 1.9 2011/03/05 23:38:40 joerg Exp $
 #
 # GENERIC32_IP12 machine description file
 # 
@@ -32,7 +32,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC32-IP2x-$Revision: 1.8 $"
+#ident         "GENERIC32-IP2x-$Revision: 1.9 $"
 
 maxusers       32
 
@@ -86,7 +86,7 @@
 options        COMPAT_50       # NetBSD 5.0 compatibility.
 #options       TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not recommended.
 
-options        COMPAT_IRIX     # binary compatibility with IRIX
+#options       COMPAT_IRIX     # binary compatibility with IRIX
 #options       COMPAT_LINUX    # binary compatibility with Linux
 #options       COMPAT_ULTRIX   # binary compatibility with Ultrix 
 options        COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.
@@ -283,8 +283,8 @@
 #pseudo-device vcoda           4       # coda minicache <-> venus comm.
 
 # pseudo devices used for IRIX binary compatibility
-pseudo-device  irix_kmem               # IRIX /dev/kmem
-pseudo-device  irix_usema              # IRIX /dev/usema
+#pseudo-device irix_kmem               # IRIX /dev/kmem
+#pseudo-device irix_usema              # IRIX /dev/usema
 
 # Veriexec
 #
diff -r 2382f5f3366c -r abf5cd24e572 sys/arch/sgimips/conf/GENERIC32_IP2x
--- a/sys/arch/sgimips/conf/GENERIC32_IP2x      Sat Mar 05 22:27:21 2011 +0000
+++ b/sys/arch/sgimips/conf/GENERIC32_IP2x      Sat Mar 05 23:38:40 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC32_IP2x,v 1.84 2010/11/23 11:14:05 hannken Exp $
+#      $NetBSD: GENERIC32_IP2x,v 1.85 2011/03/05 23:38:40 joerg Exp $
 #
 # GENERIC32_IP2x machine description file
 # 
@@ -29,7 +29,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC32-IP2x-$Revision: 1.84 $"
+#ident         "GENERIC32-IP2x-$Revision: 1.85 $"
 
 maxusers       32
 
@@ -86,7 +86,7 @@
 options        COMPAT_50       # NetBSD 5.0 compatibility.
 #options       TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not recommended.
 
-options        COMPAT_IRIX     # binary compatibility with IRIX
+#options       COMPAT_IRIX     # binary compatibility with IRIX
 options        COMPAT_LINUX    # binary compatibility with Linux
 #options       COMPAT_ULTRIX   # binary compatibility with Ultrix 
 options        COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.
@@ -329,8 +329,8 @@
 pseudo-device  vcoda           4       # coda minicache <-> venus comm.
 
 # pseudo devices used for IRIX binary compatibility
-pseudo-device  irix_kmem               # IRIX /dev/kmem
-pseudo-device  irix_usema              # IRIX /dev/usema
+#pseudo-device irix_kmem               # IRIX /dev/kmem
+#pseudo-device irix_usema              # IRIX /dev/usema
 
 # Veriexec
 #
diff -r 2382f5f3366c -r abf5cd24e572 sys/arch/sgimips/conf/GENERIC32_IP3x
--- a/sys/arch/sgimips/conf/GENERIC32_IP3x      Sat Mar 05 22:27:21 2011 +0000
+++ b/sys/arch/sgimips/conf/GENERIC32_IP3x      Sat Mar 05 23:38:40 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC32_IP3x,v 1.86 2010/11/23 11:14:05 hannken Exp $
+#      $NetBSD: GENERIC32_IP3x,v 1.87 2011/03/05 23:38:40 joerg Exp $
 #
 # GENERIC32_IP3x machine description file
 # 
@@ -28,7 +28,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC32_IP3x-$Revision: 1.86 $"
+#ident         "GENERIC32_IP3x-$Revision: 1.87 $"
 
 maxusers       32
 
@@ -79,7 +79,7 @@
 options        COMPAT_50       # NetBSD 5.0 compatibility.
 #options       TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not recommended.
 
-options        COMPAT_IRIX     # binary compatibility with IRIX
+#options       COMPAT_IRIX     # binary compatibility with IRIX
 options        COMPAT_LINUX    # binary compatibility with Linux
 #options       COMPAT_ULTRIX   # binary compatibility with Ultrix 
 options        COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.
@@ -475,8 +475,8 @@
 pseudo-device  vcoda           4       # coda minicache <-> venus comm.
 
 # pseudo devices used for IRIX binary compatibility
-pseudo-device  irix_kmem               # IRIX /dev/kmem
-pseudo-device  irix_usema              # IRIX /dev/usema
+#pseudo-device irix_kmem               # IRIX /dev/kmem
+#pseudo-device irix_usema              # IRIX /dev/usema
 
 # Veriexec
 #



Home | Main Index | Thread Index | Old Index