]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
signal: Never allocate siginfo for SIGKILL or SIGSTOP
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 3 Sep 2018 07:50:36 +0000 (09:50 +0200)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 11 Sep 2018 19:19:28 +0000 (21:19 +0200)
commitf149b31557446aff9ca96d4be7e39cc266f6e7cc
tree2fcd6f912dbde8435daa1932569fc25697894d10
parent035150540545f62bada95860ba00fe1e0cd62f63
signal: Never allocate siginfo for SIGKILL or SIGSTOP

The SIGKILL and SIGSTOP signals are never delivered to userspace so
queued siginfo for these signals can never be observed.  Therefore
remove the chance of failure by never even attempting to allocate
siginfo in those cases.

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