I don't think so; SIGPWR sent to init means it should shut down the
system as soon as possible. If init dies, the system gets uncleanly
shut down, but less uncleanly than a power interruption (at least the
disks are idled.) Therefore this is eminently sensible.
> STKFLT n/a exit (this is Linux-specific junk)
> UNUSED n/a exit (this is Linux-specific junk)
I would still like to suggest these two getting recycled as SIGTHREAD1
and SIGTHREAD2, for LinuxThreads to use.
> WINCH n/a ignore
> CHLD ignore ignore
> URG ignore ignore
> TSTP stop ignore if daemon, otherwise exit
> TTIN stop ignore if daemon, otherwise exit
> TTOU stop ignore if daemon, otherwise exit
This is just wrong: Linux stops if the handler is default on TSTP,
TTIN, and TTOU which is perfectly correct behaviour. If what you had
up there was true, ^Z would kill your process.
> STOP stop stop
> CONT unstop unstop
> EMT n/a n/a (normal systems would core by default)
-hpa
-- "Linux is a very complete and sophisticated operating system. There are, and will be, large numbers of applications available for it." -- Paul Maritz, Group Vice President for Platforms And Applications, Microsoft Corporation [Reference at: http://www.kernel.org/~hpa/ms.html]- 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/