]> git.ipfire.org Git - thirdparty/linux.git/commit - mm/oom_kill.c
signal: Use SEND_SIG_PRIV not SEND_SIG_FORCED with SIGKILL and SIGSTOP
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 3 Sep 2018 08:32:52 +0000 (10:32 +0200)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 11 Sep 2018 19:19:35 +0000 (21:19 +0200)
commit079b22dc9be985c591589fcb94769b8e13518aa0
tree13212013fd3981735b99e3da4f15e7d89cea283e
parentf149b31557446aff9ca96d4be7e39cc266f6e7cc
signal: Use SEND_SIG_PRIV not SEND_SIG_FORCED with SIGKILL and SIGSTOP

Now that siginfo is never allocated for SIGKILL and SIGSTOP there is
no difference between SEND_SIG_PRIV and SEND_SIG_FORCED for SIGKILL
and SIGSTOP.  This makes SEND_SIG_FORCED unnecessary and redundant in
the presence of SIGKILL and SIGSTOP.  Therefore change users of
SEND_SIG_FORCED that are sending SIGKILL or SIGSTOP to use
SEND_SIG_PRIV instead.

This removes the last users of SEND_SIG_FORCED.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/pid_namespace.c
kernel/ptrace.c
mm/oom_kill.c