Re: e2fsck...

ralf@uni-koblenz.de
Sat, 14 Nov 1998 10:51:34 +0100


On Fri, Nov 13, 1998 at 04:25:54PM +0000, Jamie Lokier wrote:

> On Fri, Nov 13, 1998 at 01:41:12PM +0100, ralf@uni-koblenz.de wrote:
> > The problem is that current kernels start init, be it /{sbin,bin,etc}/init
> > or whatever was passed as init= argument as PID 1. But PID 1 has several
> > special properties like the priviledge of ignoring any signal it wants to
> > ignore or adopting any orphaned process. One of the nervragging funnies
> > with that is that that bash will ignore signals like sent from <CTRL>-C.
>
> Oh, so _that_'s why fastboot bash can't be Ctrl-C'd. Grr, always found
> that annoying.
>
> These days, wouldn't it make more sense for init's properties to be set
> using a capability instead of based on PID 1?

The mechanism used is actually much simpler, signals for which no explicit
handler (SIG_DFL) has been installed, are not being sent to pid 1. That
is ok because only init needs that special property.

Ralf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/