summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-05-11 12:16:22 +0200
committerRussell King <rmk+kernel@armlinux.org.uk>2018-06-01 00:27:26 +0200
commit10573ae547c85b2c61417ff1a106cffbfceada35 (patch)
treedbc21a6b8a94eaa26fdc73b4440affa5ad082e4c /crypto/testmgr.c
parentARM: spectre-v1: add array_index_mask_nospec() implementation (diff)
downloadlinux-10573ae547c85b2c61417ff1a106cffbfceada35.tar.xz
linux-10573ae547c85b2c61417ff1a106cffbfceada35.zip
ARM: spectre-v1: fix syscall entry
Prevent speculation at the syscall table decoding by clamping the index used to zero on invalid system call numbers, and using the csdb speculative barrier. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Acked-by: Mark Rutland <mark.rutland@arm.com> Boot-tested-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'crypto/testmgr.c')
0 files changed, 0 insertions, 0 deletions