diff options
| author | Peter Zijlstra <[email protected]> | 2022-06-14 23:15:35 +0200 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2022-06-27 10:33:58 +0200 |
| commit | 00e1533325fd1fb5459229fe37f235462649f668 (patch) | |
| tree | 43678bee2fa828a00e13aa4bc81f2ce5a2e91d25 /tools/perf/scripts/python/bin | |
| parent | 369ae6ffc41a3c1137cab697635a84d0cc7cdcea (diff) | |
x86/retpoline: Swizzle retpoline thunk
Put the actual retpoline thunk as the original code so that it can
become more complicated. Specifically, it allows RET to be a JMP,
which can't be .altinstr_replacement since that doesn't do relocations
(except for the very first instruction).
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Borislav Petkov <[email protected]>
Reviewed-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions