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

Dag-Erling Smørgrav des at des.no
Mon Jun 28 08:22:54 UTC 2010


"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


More information about the freebsd-current mailing list