diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-07-21 19:35:55 +0300 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-09-11 22:19:07 +0300 |
commit | b16503baa8912a5ec5f599914bfdad898588540f (patch) | |
tree | 2ff76af60982d14e6700f8fe9e9c732d32fa5660 /include/linux/sched | |
parent | 3597dfe01d12f570bc739da67f857fd222a3ea66 (diff) | |
download | linux-b16503baa8912a5ec5f599914bfdad898588540f.tar.xz |
signal: send_sig_all no longer needs SEND_SIG_FORCED
Now that send_signal always delivers SEND_SIG_PRIV signals to a pid
namespace init it is no longer necessary to use SEND_SIG_FORCED when
calling do_send_sig_info to ensure that pid namespace inits are
signaled and possibly killed. Using SEND_SIG_PRIV is sufficient.
So use SEND_SIG_PRIV so that userspace when it receives a SIGTERM can
tell that the kernel sent the signal and not some random userspace
application.
Fixes: b82c32872db2 ("sysrq: use SEND_SIG_FORCED instead of force_sig()")
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/linux/sched')
0 files changed, 0 insertions, 0 deletions