Subject: Re: CVS commit: src/usr.sbin/rtsold
To: Jun-ichiro itojun Hagino <itojun@itojun.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: source-changes
Date: 01/04/2004 11:11:46
--Nx+rBAYAOiVz+Rkd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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.
|=20
| you may kill random victim if dangling /var/run/foo.pid stays.
With rc.d, only if the ``random victim'' is has argv[0] =3D=3D "foo";
see check_pidfile() and _find_processes() in etc/rc.subr.
--Nx+rBAYAOiVz+Rkd
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iD8DBQE/91pBpBhtmn8zJHIRAjAIAJ92Bvvtn2xTzeOzykaf32xavs03kQCfRE9O
Yq3+dw20HTIkeLM0pmiKXSs=
=JwWj
-----END PGP SIGNATURE-----
--Nx+rBAYAOiVz+Rkd--