Files
linux/arch/m68k/kernel
Al Viro a688abc484 m68k: Update ->thread.esp0 before calling syscall_trace() in ret_from_signal
[ Upstream commit 50e43a5733 ]

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: bd6f56a75b ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-10-07 07:53:03 +02:00
..
2020-08-26 13:26:52 +02:00
2012-03-28 18:30:02 +01:00
2021-06-18 11:43:07 +02:00
2017-11-06 08:25:21 +10:00
2020-10-30 21:57:06 +01:00
2012-03-28 18:30:02 +01:00