Make sure we also remove read access in pmap_page_ro() when the new
authorkettenis <kettenis@openbsd.org>
Wed, 11 Jan 2023 11:09:17 +0000 (11:09 +0000)
committerkettenis <kettenis@openbsd.org>
Wed, 11 Jan 2023 11:09:17 +0000 (11:09 +0000)
commitbb4cb34b22b37d4afb90e5fb1eac0c60cf045daf
tree674aab2214b4dd75c71b0922c2a6accd98991f92
parent8d35204047f1fc73a1f1e958fa9e157bebe8e5cb
Make sure we also remove read access in pmap_page_ro() when the new
permissions only allow execution.  Make sure we completely invalidate
the PTE if the intersection between the old and new permissions is the
empty set.

ok drahn@, deraadt@, mpi@
sys/arch/arm64/arm64/pmap.c