Re: emergency or init=/bin/sh mode and terminal signals

From: Samuel Thibault
Date: Mon Jun 19 2006 - 04:56:12 EST


Albert Cahalan, le Sun 18 Jun 2006 23:47:51 -0400, a écrit :
> Samuel Thibault writes:
>
> >The attached patch sets such session and controlling tty up, which fixes
> >the issue. The unfortunate effect is that init might be killed if one
> >presses control-C very fast after its start.
>
> Doesn't the kernel protect process 1 from any signal
> that it does not have a handler for?

Ah, yes, indeed, forgot that.

> I think there is no problem.

Agreed.

Samuel
-
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/