The new POSIX 1003.1-2001 is explicit about what kill(-1,sig)
is supposed to do. Maybe we should follow it.
Linus:
Note that I've reverted the kill(-1...) thing in my personal tree: so far
I've gotten a lot of negative feedback, and the change doesn't seem to
actually buy us anything except for conformance to a unclearly weasel-
worded standards sentence where we could be even more weasely and just say
that "self" is a special process from the systems perspective.
Well, maybe you are too pessimistic, but I do not disagree
with your action (since I cannot easily see a better one).
There have been two discussion fragments: firstly people that muttered
that it is a pity when "kill -9 -1" kills their shell.
I do not care, especially since we got the reports that that also
happens on Digital UNIX and on Solaris.
And secondly people that complain that now their shutdown sequence
is broken. That is more serious: it became difficult for a program
other than init to handle the shutdown.
"self" is a nice and clean concept; I do not see anything clean
it could be replaced with. I wonder what other systems do.
Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/