Add support for the PXN bit in level 1 translation table descriptors and
authorkettenis <kettenis@openbsd.org>
Sat, 27 Aug 2016 14:22:35 +0000 (14:22 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 27 Aug 2016 14:22:35 +0000 (14:22 +0000)
commit7680ffd381bc44e39ab56d7f5fbaf77b376b7207
treefdc8af123bca82cacc5e246254d913f179b82a35
parentda1be230f5b09a0f60e961739f6906d6033ce1ff
Add support for the PXN bit in level 1 translation table descriptors and
enable it on CPUs that support it.  When enabled, this prevents the kernel
from executing userland code.

ok jsg@, tom@
sys/arch/arm/arm/pmap7.c
sys/arch/arm/include/pte.h