lkml.org 
[lkml]   [2010]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] tty: prevent SAK to kill init process
Jiri Olsa <jolsa@redhat.com> writes:

> hi,
>
> hitting "Secure Attention Key" on console that's openned
> by init process, causing panic due to an attempt to kill
> the init process.
>
> Fixing this by skipping the init process in the loop.

This sounds like proper behavior. The goal of SAK is the guarantee that
no one else has the tty one, and this violates that goal. Which version
init opens a controlling tty? I expect it is time to deliver SIGCLUE
to it.

Eric


\
 
 \ /
  Last update: 2010-11-01 20:43    [W:1.336 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site