Add PaX ASLR for testing

This commit is contained in:
christos 2008-01-07 16:46:59 +00:00
parent 7e82e3084b
commit 2937b71b26

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC,v 1.321 2007/12/31 15:31:45 ad Exp $
# $NetBSD: GENERIC,v 1.322 2008/01/07 16:46:59 christos Exp $
#
# This machine description file is used to generate the default NetBSD
# kernel.
@ -19,7 +19,7 @@ include "arch/alpha/conf/std.alpha"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
ident "GENERIC-$Revision: 1.321 $"
ident "GENERIC-$Revision: 1.322 $"
maxusers 32
@ -747,4 +747,6 @@ pseudo-device btuart # Bluetooth HCI UART (H4)
#options VERIFIED_EXEC_FP_SHA1
#options VERIFIED_EXEC_FP_MD5
options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
#options PAX_SEGVGUARD=0 # PaX Segmentation fault guard
options PAX_ASLR=0 # PaX Address Space Layout Randomization