mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
uprobes/x86: Add SLS mitigation to the trampolines
It is trivial; no reason not to. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20250821123657.277506098@infradead.org
This commit is contained in:
parent
60ed85b7e4
commit
354492a0e1
|
|
@ -336,6 +336,7 @@ asm (
|
|||
* call ret.
|
||||
*/
|
||||
"ret\n"
|
||||
"int3\n"
|
||||
".global uretprobe_trampoline_end\n"
|
||||
"uretprobe_trampoline_end:\n"
|
||||
".popsection\n"
|
||||
|
|
@ -891,6 +892,7 @@ asm (
|
|||
"pop %r11\n"
|
||||
"pop %rcx\n"
|
||||
"ret\n"
|
||||
"int3\n"
|
||||
".balign " __stringify(PAGE_SIZE) "\n"
|
||||
".popsection\n"
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user