Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/conf - Turn on ASLR by default



details:   https://anonhg.NetBSD.org/src/rev/9195055d2248
branches:  trunk
changeset: 344657:9195055d2248
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 10 15:28:24 2016 +0000

description:
- Turn on ASLR by default
- Add PAX_MPROTECT_DEBUG flag

diffstat:

 sys/arch/amd64/conf/GENERIC |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 4c73288786ea -r 9195055d2248 sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC       Sun Apr 10 15:26:18 2016 +0000
+++ b/sys/arch/amd64/conf/GENERIC       Sun Apr 10 15:28:24 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.427 2016/03/19 23:21:02 gdt Exp $
+# $NetBSD: GENERIC,v 1.428 2016/04/10 15:28:24 christos Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.427 $"
+#ident                 "GENERIC-$Revision: 1.428 $"
 
 maxusers       64              # estimated number of users
 
@@ -1312,6 +1312,9 @@
 options VERIFIED_EXEC_FP_SHA1
 options VERIFIED_EXEC_FP_MD5
 
+options        PAX_ASLR_DEBUG=1        # PaX ASLR debug
 options        PAX_SEGVGUARD=0         # PaX Segmentation fault guard
 options        PAX_MPROTECT=0          # PaX mprotect(2) restrictions
-options        PAX_ASLR=0              # PaX Address Space Layout Randomization
+options        PAX_MPROTECT_DEBUG=1    # PaX mprotect debug
+options        PAX_ASLR=1              # PaX Address Space Layout Randomization
+options                TRAP_SIGDEBUG



Home | Main Index | Thread Index | Old Index