diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-07-19 19:47:27 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-09-11 21:18:15 +0200 |
commit | 86989c41b5ea08776c450cb759592532314a4ed6 (patch) | |
tree | a98b4d6f24db7094b39d9f19d4d67b2446bcf483 /scripts/Makefile.dtbinst | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff) | |
download | blackbird-obmc-linux-86989c41b5ea08776c450cb759592532314a4ed6.tar.gz blackbird-obmc-linux-86989c41b5ea08776c450cb759592532314a4ed6.zip |
signal: Always ignore SIGKILL and SIGSTOP sent to the global init
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>
Diffstat (limited to 'scripts/Makefile.dtbinst')
0 files changed, 0 insertions, 0 deletions