Make pmap_protect(9) actually remove exec permission if the new permissions
authorkettenis <kettenis@openbsd.org>
Wed, 12 Sep 2018 11:58:28 +0000 (11:58 +0000)
committerkettenis <kettenis@openbsd.org>
Wed, 12 Sep 2018 11:58:28 +0000 (11:58 +0000)
commitf05728038a59f7df31f64c0dcde6890e8e2b970d
treebf468771b6bb3b3415baa413512acacd2cfae43a
parent1cc1f5c47851b8a7ab9a471aae35acacf9ebfd38
Make pmap_protect(9) actually remove exec permission if the new permissions
include PROT_READ but not PROT_EXEC.

ok patrick@
sys/arch/arm64/arm64/pmap.c