summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-01-10 23:27:19 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-01-10 23:27:19 +0000
commit319530702ba290369e59c1c58266f18ac8430dfd (patch)
tree3a2d0283c645d4a8848a925d34b82fe3e4410f37 /libexec
parent746168d3fedcbc1dfef08270033609b999754872 (diff)
Implement FUCKWIT for arm64; unmap the kernel almost entirely while userland
is running. This provides protection against meltown on cores that are vilnerable (just Cortex-A75 so far) but also seems to be an essential to protect against spectre-like attacks against the kernel. This implementation only exposes a single treampoline page that does not contain any kernel virtual addresses and also hides the real virtual address of the exception vectors, which helps on cores vulnerable to "variant 3a" (Cortex-A57, Cortex-A72). The implementation is inspired by the work done by Will Deacon for Linux, but there are no knobs to turn it off. The overhead is fairly limited: around 3-4% slowdown on Cortex-A57. ok patrick@, deraadt@
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions