summaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-07-13 18:40:57 -0500
committerEric W. Biederman <ebiederm@xmission.com>2018-07-21 12:57:35 -0500
commit0102498083d58d8b17759642c602b525215e1a54 (patch)
treec415fcfa60f8bad834f2649bdf0fbeff155f868d /kernel/exit.c
parent24122c7f4969adeeaeca3fb1656a31569e9aa59b (diff)
downloadlinux-stable-0102498083d58d8b17759642c602b525215e1a54.tar.gz
linux-stable-0102498083d58d8b17759642c602b525215e1a54.tar.bz2
linux-stable-0102498083d58d8b17759642c602b525215e1a54.zip
signal: Pass pid type into group_send_sig_info
This passes the information we already have at the call sight into group_send_sig_info. Ultimatelly allowing for to better handle signals sent to a group of processes. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 25582b442955..0e21e6d21f35 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -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