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 Update comment explaining why PAX_MPRO...



details:   https://anonhg.NetBSD.org/src/rev/63d35be0efd9
branches:  trunk
changeset: 815535:63d35be0efd9
user:      martin <martin%NetBSD.org@localhost>
date:      Tue May 24 13:57:26 2016 +0000

description:
Update comment explaining why PAX_MPROTECT is disabled here

diffstat:

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

diffs (28 lines):

diff -r 0fe52d18565e -r 63d35be0efd9 sys/arch/sparc64/conf/GENERIC
--- a/sys/arch/sparc64/conf/GENERIC     Tue May 24 13:00:00 2016 +0000
+++ b/sys/arch/sparc64/conf/GENERIC     Tue May 24 13:57:26 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.185 2016/05/19 15:37:06 christos Exp $
+# $NetBSD: GENERIC,v 1.186 2016/05/24 13:57:26 martin Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.185 $"
+#ident                 "GENERIC-$Revision: 1.186 $"
 
 maxusers       64
 
@@ -1008,7 +1008,8 @@
 
 options         PAX_ASLR_DEBUG=1        # PaX ASLR debug
 options         PAX_SEGVGUARD=0         # PaX Segmentation fault guard
-# XXX: MPROTECT is broken!
+# 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_ASLR=1              # PaX Address Space Layout Randomization



Home | Main Index | Thread Index | Old Index