X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fsignal.c;h=e5f8aea78ffebd71a1322ca8279321aac3b077e6;hb=f1adad78dd2fc8edaa513e0bde92b4c64340245c;hp=5ccaac505e8dabd792eab331cf4e80bfa9a5f4cf;hpb=7f344f0aa7d4ec0e4c1c676329aff1353f90fb38;p=linux-2.6 diff --git a/kernel/signal.c b/kernel/signal.c index 5ccaac505e..e5f8aea78f 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -868,7 +868,6 @@ __group_complete_signal(int sig, struct task_struct *p) if (t == NULL) /* restart balancing at this thread */ t = p->signal->curr_target = p; - BUG_ON(t->tgid != p->tgid); while (!wants_signal(sig, t)) { t = next_thread(t); @@ -1755,9 +1754,9 @@ relock: /* Let the debugger run. */ ptrace_stop(signr, signr, info); - /* We're back. Did the debugger cancel the sig or group_exit? */ + /* We're back. Did the debugger cancel the sig? */ signr = current->exit_code; - if (signr == 0 || current->signal->flags & SIGNAL_GROUP_EXIT) + if (signr == 0) continue; current->exit_code = 0;