summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-07-19 19:47:27 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-25 09:52:12 +0100
commit1f7d8a28b65fa5a0885e30ebf9575cad5976aa58 (patch)
treec1b9747d99529f3ac5a4c0cfb695772d6c2ce852 /README
parent463950f5539e0b6499dcc19cc07f853a37a0dbfc (diff)
signal: Always ignore SIGKILL and SIGSTOP sent to the global init
[ Upstream commit 86989c41b5ea08776c450cb759592532314a4ed6 ] If the first process started (aka /sbin/init) receives a SIGKILL it will panic the system if it is delivered. Making the system unusable and undebugable. It isn't much better if the first process started receives SIGSTOP. So always ignore SIGSTOP and SIGKILL sent to init. This is done in a separate clause in sig_task_ignored as force_sig_info can clear SIG_UNKILLABLE and this protection should work even then. Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions