mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
signal: Pass pid type into do_send_sig_info
This passes the information we already have at the call sight into do_send_sig_info. Ultimately allowing for better handling of signals sent to a group of processes during fork. Signed-off-by: "Eric W. Biederman" <[email protected]>
This commit is contained in:
parent
9c2db00778
commit
40b3b02535
5 changed files with 12 additions and 12 deletions
|
|
@ -348,7 +348,7 @@ static void send_sig_all(int sig)
|
|||
if (is_global_init(p))
|
||||
continue;
|
||||
|
||||
do_send_sig_info(sig, SEND_SIG_FORCED, p, true);
|
||||
do_send_sig_info(sig, SEND_SIG_FORCED, p, PIDTYPE_MAX);
|
||||
}
|
||||
read_unlock(&tasklist_lock);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue