diff options
author | 2018-01-17 10:22:25 +0000 | |
---|---|---|
committer | 2018-01-17 10:22:25 +0000 | |
commit | d855ec95cfe64f13b6899415be9c24dc9be8ec49 (patch) | |
tree | e12400a648150669550395b17bcc1d026bf6d041 /lib/libc/stdlib/malloc.c | |
parent | Implement support for the PSCI_VERSION call and export the function such that (diff) | |
download | wireguard-openbsd-d855ec95cfe64f13b6899415be9c24dc9be8ec49.tar.xz wireguard-openbsd-d855ec95cfe64f13b6899415be9c24dc9be8ec49.zip |
Defend agains branch predictor target injection (Spectre "variant 2")
attacks by flushing the branch predictor cache (BTB) on context switches
and page faults in kkernel address space. Note that this relies on the
presence of firmware (such as Arm Trusted Firmware) that provides PSCI
services that flush the BTB on entry as described in Arm Trusted Firmware
Security Advisory TFV 6.
ok patrick@, visa@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions