ptrace: ensure JOBCTL_STOP_SIGMASK is not zero after detach
[pandora-kernel.git] / kernel / signal.c
index b3f78d0..2065515 100644 (file)
@@ -1994,8 +1994,6 @@ static bool do_signal_stop(int signr)
                 */
                if (!(sig->flags & SIGNAL_STOP_STOPPED))
                        sig->group_exit_code = signr;
-               else
-                       WARN_ON_ONCE(!current->ptrace);
 
                sig->group_stop_count = 0;