aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/signal.c')
-rw-r--r--kernel/signal.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index 5d30ff561847..6d6d1ab39e7e 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -1556,11 +1556,6 @@ static inline int may_ptrace_stop(void)
1556{ 1556{
1557 if (!likely(current->ptrace & PT_PTRACED)) 1557 if (!likely(current->ptrace & PT_PTRACED))
1558 return 0; 1558 return 0;
1559
1560 if (unlikely(current->parent == current->real_parent &&
1561 (current->ptrace & PT_ATTACHED)))
1562 return 0;
1563
1564 /* 1559 /*
1565 * Are we in the middle of do_coredump? 1560 * Are we in the middle of do_coredump?
1566 * If so and our tracer is also part of the coredump stopping 1561 * If so and our tracer is also part of the coredump stopping