diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-07-21 18:45:15 +0300 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-07-21 20:57:35 +0300 |
commit | 40b3b02535621027f56d248139e0e467573c3098 (patch) | |
tree | d0e62a9c767d2c08265a05b3f26c3d87c1580449 /drivers/tty | |
parent | 9c2db007787ef1aac6728c5e03d37b0ae935d122 (diff) | |
download | linux-40b3b02535621027f56d248139e0e467573c3098.tar.xz |
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" <ebiederm@xmission.com>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/sysrq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c index 6364890575ec..06ed20dd01ba 100644 --- a/drivers/tty/sysrq.c +++ b/drivers/tty/sysrq.c @@ -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); } |