From b57ffa9b734c99149ffb33838cdad95e687d9a70 Mon Sep 17 00:00:00 2001 From: Oleg Nesterov Date: Tue, 28 Mar 2006 16:11:28 -0800 Subject: [PATCH] --- yaml --- r: 24574 b: refs/heads/master c: 883606a7c9e84e206f96c38f88c4bd66df72f51e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/kernel/signal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index c3b6f15c2d27..f56329d9bb15 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dac27f4a09c274db048e80d2511102e540ac9e3a +refs/heads/master: 883606a7c9e84e206f96c38f88c4bd66df72f51e diff --git a/trunk/kernel/signal.c b/trunk/kernel/signal.c index efba39626e66..24d5059ab0a9 100644 --- a/trunk/kernel/signal.c +++ b/trunk/kernel/signal.c @@ -1657,7 +1657,7 @@ finish_stop(int stop_count) * a group stop in progress and we are the last to stop, * report to the parent. When ptraced, every thread reports itself. */ - if (stop_count < 0 || (current->ptrace & PT_PTRACED)) + if (current->ptrace & PT_PTRACED) to_self = 1; else if (stop_count == 0) to_self = 0;