staging: zram: drop zram_stat_dec/inc functions
[platform/adaptation/renesas_rcar/renesas_kernel.git] / kernel / ptrace.c
index 7b09b88..1599157 100644 (file)
@@ -463,6 +463,9 @@ void exit_ptrace(struct task_struct *tracer)
                return;
 
        list_for_each_entry_safe(p, n, &tracer->ptraced, ptrace_entry) {
+               if (unlikely(p->ptrace & PT_EXITKILL))
+                       send_sig_info(SIGKILL, SEND_SIG_FORCED, p);
+
                if (__ptrace_detach(tracer, p))
                        list_add(&p->ptrace_entry, &ptrace_dead);
        }