Skip to content
Snippets Groups Projects
Commit 82058d66 authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

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: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent a8ebd171
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment