cvs commit: src/usr.bin/pkill pkill.c

Andrey Chernov ache at FreeBSD.ORG
Wed Nov 16 12:49:54 GMT 2005


On Wed, Nov 16, 2005 at 03:41:43PM +0300, Andrey Chernov wrote:
> 1) For SIGKILL, pkill should ignore disappeared precesses, as NetBSD does.
> 2) For any other signal, it should issue _warning_ and not error & stop.

Because SIGKILL can't be trapped and even not do any special action like 
SIGILL (core), disappeared process == killed. But it is not so for other 
(trapped or special action) signals. Disappears should not be silently 
ignored as SIGKILL due to special action missing, warning is enough in 
that case.

-- 
http://ache.pp.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20051116/00fc41a7/attachment.bin


More information about the cvs-src mailing list