Depends on how you look at it.
>If init dies the machine is in deep crap. Init should not
>die. If init dies something very bad has occured. Simply carrying on with
>no pid 1 to reap processes wont work very well
True, but shouldn't the kernel just panic and halt? A spontaneous
reboot is a bit.. unnerving, and makes it hard to diagnose what happened.
But anyway I have no idea what the kernel does if init dies. If it
just treats is as a "never happens" situation it might die horribly..
BTW, Init _never_ does an exit(). Even if it gets SIGSEGV it prints
a message and does a "while(1) pause()" forever.
Mike.
-- Indifference will certainly be the downfall of mankind, but who cares?- 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/