On Sun, Jan 04, 2004 at 08:56:07AM +0900, Jun-ichiro itojun Hagino wrote: | > > no consistency guarantee between actual process table, | > Am I supposed to believe this is a widespread and serious problem in | > practice? If so, I must have been hallucinating the last 20 years of | > using Unix. | | you may kill random victim if dangling /var/run/foo.pid stays. With rc.d, only if the ``random victim'' is has argv[0] == "foo"; see check_pidfile() and _find_processes() in etc/rc.subr.
Attachment:
pgp6n_CdGgrIY.pgp
Description: PGP signature