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

From: Andries.Brouwer@cwi.nl
Date: Fri Dec 14 2001 - 16:22:34 EST


> Of course, a language lawyer will call "self" a "system process"

No, the standard very explicitly allow signalling oneself.
(And Linux also allowed that, e.g. in kill(0,sig), only until now
not in kill(-1,sig).)

>> Argh, I hate this. I fail to see what progress a process could make
>> if it kills everything _and_ itself.

Note that kill() is just a function that sends a signal.
The signal may well be SIGWINCH or SIGSTOP or so.

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/



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