summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/arch
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2016-09-01 09:05:37 +0000
committerkettenis <kettenis@openbsd.org>2016-09-01 09:05:37 +0000
commit42c31fbc77c23a168c65b2a26b2eea10c3e06afc (patch)
tree8f417a431373223c65197631c0f6d653ff2a8840 /sys/lib/libkern/arch
parentvarious cleanup; (diff)
downloadwireguard-openbsd-42c31fbc77c23a168c65b2a26b2eea10c3e06afc.tar.xz
wireguard-openbsd-42c31fbc77c23a168c65b2a26b2eea10c3e06afc.zip
Avoid mapping the vector page W|X. Map it using PROT_READ|PROT_WRITE
initially and change it to PROT_READ|PROT_EXEC as soon as we have called pmap_bootstrap(), at which piint we're done modifying the page. ok jsg@, deraadt@, patrick@
Diffstat (limited to 'sys/lib/libkern/arch')
0 files changed, 0 insertions, 0 deletions