Kill some obsolete sub-thread-ptrace stuff
[firefly-linux-kernel-4.4.55.git] / kernel / signal.c
index ef8156a6aad519014c030f62e856302dacf045e7..b27c01a66448a4bee1e023ccd809b28b0b719b36 100644 (file)
@@ -1561,10 +1561,6 @@ static inline int may_ptrace_stop(void)
                    (current->ptrace & PT_ATTACHED)))
                return 0;
 
-       if (unlikely(current->signal == current->parent->signal) &&
-           unlikely(current->signal->flags & SIGNAL_GROUP_EXIT))
-               return 0;
-
        /*
         * Are we in the middle of do_coredump?
         * If so and our tracer is also part of the coredump stopping