diff options
| author | 2018-07-20 16:35:14 -0500 | |
|---|---|---|
| committer | 2018-09-16 16:08:25 +0200 | |
| commit | 82058d6684658430cd9b4123d4c3e863fd48f813 (patch) | |
| tree | ed23a1c404f61b6dc0d5408208835817ff335ee9 /kernel/signal.c | |
| parent | tty_io: Use group_send_sig_info in __do_SACK to note it is a session being killed (diff) | |
| download | linux-dev-82058d6684658430cd9b4123d4c3e863fd48f813.tar.xz linux-dev-82058d6684658430cd9b4123d4c3e863fd48f813.zip | |
signal: Use group_send_sig_info to kill all processes in a pid namespace
Replace send_sig_info in zap_pid_ns_processes with
group_send_sig_info. This makes more sense as the entire process
group is being killed. More importantly this allows the kill of those
processes with PIDTYPE_MAX to indicate all of the process in the pid
namespace are being signaled. This is needed for fork to detect when
signals are sent to a group of processes.
Admittedly fork has another case to catch SIGKILL but the principle remains
that it is desirable to know when a group of processes is being signaled.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions
