Re: [PATCH] kill(-1,sig)

From: Simon Kirby (
Date: Sat Dec 15 2001 - 18:09:40 EST

On Sat, Dec 15, 2001 at 05:19:42AM -0500, Albert D. Cahalan wrote:

> > I do agree, I've used "kill -9 -1" myself.
> This means: EVERYTHING DIE DIE DIE!!!!
> On a Digital UNIX system, I do "/bin/kill -9 -1" often. I expect it to
> kill the shell. This is a nice way to quickly log out and wipe out any
> background processes that might try to save state or continue running.


And then init spawns your getty again, and you log in again, and you
continue doing what you were doing.

Or you could just let it not kill the process doing the killing, and
you'd be more productive.

My point is that I can't see a valid case where we _actually want_ -1 to
send to itself also. Yes, I know the standards don't mention this. They
also don't explicity disallow not sending to the originating process, so
I don't see what the big problem is.

Does anybody have a case where including itself is actually useful?


[ Stormix Technologies Inc. ][ NetNation Communications Inc. ]
[ ][ ]
[ Opinions expressed are not necessarily those of my employers. ]
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:30 EST