diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-09-08 12:04:50 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-09-15 16:13:53 +0200 |
commit | 8c03af3e090e9d57d90f482d344563dd4bae1e66 (patch) | |
tree | 8d5a69ee1085ce310672ea551f78baa74ea25c66 /lib/memneq.c | |
parent | bc12b70f7d216b36bd87701349374a13e486f8eb (diff) | |
download | linux-8c03af3e090e9d57d90f482d344563dd4bae1e66.tar.bz2 |
x86,retpoline: Be sure to emit INT3 after JMP *%\reg
Both AMD and Intel recommend using INT3 after an indirect JMP. Make sure
to emit one when rewriting the retpoline JMP irrespective of compiler
SLS options or even CONFIG_SLS.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Link: https://lkml.kernel.org/r/Yxm+QkFPOhrVSH6q@hirez.programming.kicks-ass.net
Diffstat (limited to 'lib/memneq.c')
0 files changed, 0 insertions, 0 deletions