aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2022-03-26 11:27:40 +0900
committerAlexei Starovoitov <[email protected]>2022-03-28 19:38:51 -0700
commit45c23bf4d1a416d32e509f83719a7399e35bdaf9 (patch)
tree173ff987862f7193b5b7145b96c510ae3d8841b2 /lib/mpi/mpiutil.c
parent0ef6f5c09371f17e142814e6996d6dfb8741925b (diff)
x86,kprobes: Fix optprobe trampoline to generate complete pt_regs
Currently the optprobe trampoline template code ganerate an almost complete pt_regs on-stack, everything except regs->ss. The 'regs->ss' points to the top of stack, which is not a valid segment decriptor. As same as the rethook does, complete the job by also pushing ss. Suggested-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Masami Hiramatsu <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/164826166027.2455864.14759128090648961900.stgit@devnote2
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions