summaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2017-06-07 00:11:44 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2017-06-19 19:41:48 +0200
commit204a2be30a7a8a8d12642f23f3fbdc8b9923b500 (patch)
tree7c79d881f83dc301fa9aa3d51e5a573e1a292a30 /kernel/signal.c
parentm68k/defconfig: Update defconfigs for v4.12-rc1 (diff)
downloadlinux-204a2be30a7a8a8d12642f23f3fbdc8b9923b500.tar.xz
linux-204a2be30a7a8a8d12642f23f3fbdc8b9923b500.zip
m68k: Remove ptrace_signal_deliver
This fixes debugger syscall restart interactions. A debugger that modifies the tracee's program counter is expected to set the orig_d0 pseudo register to -1, to disable a possible syscall restart. This removes the last user of the ptrace_signal_deliver hook in the ptrace signal handling, so remove that as well. Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'kernel/signal.c')
-rw-r--r--kernel/signal.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index ca92bcfeb322..f0a48e5b1f0b 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -2092,7 +2092,6 @@ static void do_jobctl_trap(void)
static int ptrace_signal(int signr, siginfo_t *info)
{
- ptrace_signal_deliver();
/*
* We do not check sig_kernel_stop(signr) but set this marker
* unconditionally because we do not know whether debugger will