ptrace: give more respect to SIGKILL
[linux-2.6.git] / include / linux / sched.h
index 6aca4a1..79e749d 100644 (file)
@@ -2054,9 +2054,6 @@ static inline int signal_pending_state(long state, struct task_struct *p)
        if (!signal_pending(p))
                return 0;
 
-       if (state & (__TASK_STOPPED | __TASK_TRACED))
-               return 0;
-
        return (state & TASK_INTERRUPTIBLE) || __fatal_signal_pending(p);
 }