]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - kernel/exit.c
Merge branch 'for-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata
[linux.git] / kernel / exit.c
index 25582b4429550c4643d5e0f8cde192268c350e50..0e21e6d21f35f884f5b89b4237bd0be4f2b8a085 100644 (file)
@@ -681,7 +681,8 @@ static void forget_original_parent(struct task_struct *father,
                                t->parent = t->real_parent;
                        if (t->pdeath_signal)
                                group_send_sig_info(t->pdeath_signal,
-                                                   SEND_SIG_NOINFO, t);
+                                                   SEND_SIG_NOINFO, t,
+                                                   PIDTYPE_TGID);
                }
                /*
                 * If this is a threaded reparent there is no need to