Re: [PATCH] tty: prevent SAK to kill init process

From: Eric W. Biederman
Date: Mon Nov 01 2010 - 15:40:54 EST


Jiri Olsa <jolsa@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/