Enable the UWXN bit in the SCTRL register when available. This should
authorkettenis <kettenis@openbsd.org>
Thu, 25 Aug 2016 08:17:57 +0000 (08:17 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 25 Aug 2016 08:17:57 +0000 (08:17 +0000)
commit2d9cac54eb40d2bebf31a1864371a0eb278feab9
tree9b21b7dcc16542c4210c4bb0551c4653b7d657a1
parentd0abaeb4c72264b17ae48e5e56a83d8a1de6591d
Enable the UWXN bit in the SCTRL register when available.  This should
prevent the kernel from accidentally executing userland pages that are
writable.

ok jsg@, patrick@
sys/arch/arm/arm/cpufunc.c
sys/arch/arm/include/armreg.h