Compile in PaX support for Xen x86 kernels (dom0 and domU).

ok bouyer@. Compiled and tested by me under i386. Only compile tested for
amd64.
This commit is contained in:
jym 2009-12-17 23:53:24 +00:00
parent fc6ebcbc61
commit 87333291ab
4 changed files with 16 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: XEN3_DOM0,v 1.47 2009/12/05 20:11:03 pooka Exp $
# $NetBSD: XEN3_DOM0,v 1.48 2009/12/17 23:53:24 jym Exp $
include "arch/amd64/conf/std.xen"
@ -808,3 +808,6 @@ pseudo-device drvctl
pseudo-device xenevt
pseudo-device xvif
pseudo-device xbdback
options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
options PAX_ASLR=0 # PaX Address Space Layout Randomization

View File

@ -1,4 +1,4 @@
# $NetBSD: XEN3_DOMU,v 1.20 2009/12/05 20:11:03 pooka Exp $
# $NetBSD: XEN3_DOMU,v 1.21 2009/12/17 23:53:24 jym Exp $
include "arch/amd64/conf/std.xen"
@ -213,6 +213,9 @@ pseudo-device bridge # simple inter-network bridging
#pseudo-device pf # PF packet filter
#pseudo-device pflog # PF log if
options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
options PAX_ASLR=0 # PaX Address Space Layout Randomization
# miscellaneous pseudo-devices
pseudo-device pty # pseudo-terminals
pseudo-device rnd # /dev/random and in-kernel generator

View File

@ -1,4 +1,4 @@
# $NetBSD: XEN3_DOM0,v 1.23 2009/12/05 20:11:15 pooka Exp $
# $NetBSD: XEN3_DOM0,v 1.24 2009/12/17 23:53:24 jym Exp $
#
# XEN3_0: Xen 3.0 domain0 kernel
@ -799,6 +799,9 @@ pseudo-device xenevt
pseudo-device xvif
pseudo-device xbdback
options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
options PAX_ASLR=0 # PaX Address Space Layout Randomization
ppb* at pci? dev ? function ? # PCI-PCI bridges
pci* at ppb? bus ?

View File

@ -1,4 +1,4 @@
# $NetBSD: XEN3_DOMU,v 1.19 2009/12/05 20:11:15 pooka Exp $
# $NetBSD: XEN3_DOMU,v 1.20 2009/12/17 23:53:24 jym Exp $
include "arch/xen/conf/std.xen"
@ -247,6 +247,9 @@ pseudo-device nsmb # experimental - SMB requester
# userland interface to drivers, including autoconf and properties retrieval
pseudo-device drvctl
options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
options PAX_ASLR=0 # PaX Address Space Layout Randomization
# PCI pass-through support:
#xpci* at xenbus ? #Xen3 PCI front end driver
#pci* at xpci ?