diff options
author | Peter Zijlstra <[email protected]> | 2022-09-08 12:04:50 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-09-15 16:13:53 +0200 |
commit | 8c03af3e090e9d57d90f482d344563dd4bae1e66 (patch) | |
tree | 8d5a69ee1085ce310672ea551f78baa74ea25c66 /scripts/generate_rust_analyzer.py | |
parent | bc12b70f7d216b36bd87701349374a13e486f8eb (diff) |
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) <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions