Re: Patch for rc.d/devd on FreeBSD 9-current

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Mon, 28 Jun 2010 10:20:41 +0200
"M. Warner Losh" <imp_at_bsdimp.com> writes:
> Why not fix pidfile_open to not return a file handle when the PID
> doesn't match?

It doesn't.  If it can't lock the file, or if fstat(2) fails after it
has locked the file, it returns NULL.

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Mon Jun 28 2010 - 06:22:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC