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 Turn on ASLR for sparc64



details:   https://anonhg.NetBSD.org/src/rev/bbc787518cf1
branches:  trunk
changeset: 345330:bbc787518cf1
user:      christos <christos%NetBSD.org@localhost>
date:      Thu May 19 15:37:06 2016 +0000

description:
Turn on ASLR for sparc64

diffstat:

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

diffs (30 lines):

diff -r bc9e051a163b -r bbc787518cf1 sys/arch/sparc64/conf/GENERIC
--- a/sys/arch/sparc64/conf/GENERIC     Thu May 19 15:36:35 2016 +0000
+++ b/sys/arch/sparc64/conf/GENERIC     Thu May 19 15:37:06 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.184 2016/03/19 23:21:03 gdt Exp $
+# $NetBSD: GENERIC,v 1.185 2016/05/19 15:37:06 christos Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.184 $"
+#ident                 "GENERIC-$Revision: 1.185 $"
 
 maxusers       64
 
@@ -1006,5 +1006,9 @@
 # drvctl - needed to show device dictionary via drvctl(8)
 pseudo-device  drvctl
 
-#options PAX_MPROTECT=0                        # PaX mprotect(2) restrictions
-                                       # (for static binaries only for now)
+options         PAX_ASLR_DEBUG=1        # PaX ASLR debug
+options         PAX_SEGVGUARD=0         # PaX Segmentation fault guard
+# XXX: MPROTECT is broken!
+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