diff options
author | 2022-09-08 12:04:50 +0200 | |
---|---|---|
committer | 2022-09-15 16:13:53 +0200 | |
commit | 8c03af3e090e9d57d90f482d344563dd4bae1e66 (patch) | |
tree | 8d5a69ee1085ce310672ea551f78baa74ea25c66 /scripts/gdb/linux/proc.py | |
parent | x86/earlyprintk: Clean up pciserial (diff) | |
download | linux-dev-8c03af3e090e9d57d90f482d344563dd4bae1e66.tar.xz linux-dev-8c03af3e090e9d57d90f482d344563dd4bae1e66.zip |
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 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions