Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/conf Comment out PAX_MPROTECT options compl...



details:   https://anonhg.NetBSD.org/src/rev/87928eb6a1b0
branches:  trunk
changeset: 822514:87928eb6a1b0
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Mar 23 11:00:03 2017 +0000

description:
Comment out PAX_MPROTECT options completely, instead of just turning them
off globaly. This will make the automatic tests not even try to enable
mprotect, which can't work for our current PLT format and shared binaries.

diffstat:

 sys/arch/sparc64/conf/GENERIC |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 8c30e4e7743e -r 87928eb6a1b0 sys/arch/sparc64/conf/GENERIC
--- a/sys/arch/sparc64/conf/GENERIC     Thu Mar 23 08:31:00 2017 +0000
+++ b/sys/arch/sparc64/conf/GENERIC     Thu Mar 23 11:00:03 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.196 2016/12/13 20:42:20 christos Exp $
+# $NetBSD: GENERIC,v 1.197 2017/03/23 11:00:03 martin Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.196 $"
+#ident         "GENERIC-$Revision: 1.197 $"
 
 maxusers       64
 
@@ -1024,6 +1024,6 @@
 options        PAX_SEGVGUARD=0         # PaX Segmentation fault guard
 # XXX: there is no PLT format for sparc64 that cooperates with
 # MPROTECT, so disable it for now
-options        PAX_MPROTECT=0          # PaX mprotect(2) restrictions
-options        PAX_MPROTECT_DEBUG=1    # PaX mprotect debug
+# options      PAX_MPROTECT=0          # PaX mprotect(2) restrictions
+# options      PAX_MPROTECT_DEBUG=1    # PaX mprotect debug
 options        PAX_ASLR=1              # PaX Address Space Layout Randomization



Home | Main Index | Thread Index | Old Index