Shuffle armv7 access permission bits around to something that is compatible
authorkettenis <kettenis@openbsd.org>
Wed, 10 Aug 2016 21:22:43 +0000 (21:22 +0000)
committerkettenis <kettenis@openbsd.org>
Wed, 10 Aug 2016 21:22:43 +0000 (21:22 +0000)
commitf976bc9b4ba95328314f5f4fd83216d50bafd383
tree829842d4848c612bd226f9a63ac2accc8f52cb51
parent9c3ee2890e0af2791e1e870d63954bb4890da5d1
Shuffle armv7 access permission bits around to something that is compatible
with setting the Access Flag Enable bit in the System Control Register.
The new settings mean that read-only userland pages are no longer writable
by the kernel, which is a good thing.  Set the Access Flag Enable bit.

ok patrick@
sys/arch/arm/arm/cpufunc.c
sys/arch/arm/include/pmap.h
sys/arch/arm/include/pte.h