diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-07-25 20:19:45 +0300 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2021-09-24 14:35:01 +0300 |
commit | 50e43a57334400668952f8e551c9d87d3ed2dfef (patch) | |
tree | ddfbe66c2a1d472a4a86aa982409b2eb1c52751e /tools/perf/scripts/python | |
parent | 4bb0bd81ce5e97092dfda6a106d414b703ec0ee8 (diff) | |
download | linux-50e43a57334400668952f8e551c9d87d3ed2dfef.tar.xz |
m68k: Update ->thread.esp0 before calling syscall_trace() in ret_from_signal
We get there when sigreturn has performed obscene acts on kernel stack;
in particular, the location of pt_regs has shifted. We are about to call
syscall_trace(), which might stop for tracer. If that happens, we'd better
have task_pt_regs() returning correct result...
Fucked-up-by: Al Viro <viro@zeniv.linux.org.uk>
Fixes: bd6f56a75bb2 ("m68k: Missing syscall_trace() on sigreturn")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Reviewed-by: Michael Schmitz <schmitzmic@gmail.com>
Tested-by: Finn Thain <fthain@linux-m68k.org>
Link: https://lore.kernel.org/r/YP2dMWeV1LkHiOpr@zeniv-ca.linux.org.uk
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions