Make enabling the BTI feature a per-pmap thing by storing the ATTR_GP bit
authorkettenis <kettenis@openbsd.org>
Sun, 16 Apr 2023 11:14:26 +0000 (11:14 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 16 Apr 2023 11:14:26 +0000 (11:14 +0000)
commit2c3273c1dc7912446870ac9ec7a9086cfe0bb5ba
treec23c39f0746c4e16b8df910daf7277c07803a8d4
parent98a8a58a8f51400acf32a042cfa61b62c11317b4
Make enabling the BTI feature a per-pmap thing by storing the ATTR_GP bit
in a new pm_guarded member of struct pmap and using this member to add
the bits to the PTEs

ok deraadt@
sys/arch/arm64/arm64/pmap.c
sys/arch/arm64/include/pmap.h