Re: fcntl always fails to delete lock file, and PID is always -6464

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 11 Oct 2010 11:50:00 -0400
On Tuesday, October 05, 2010 2:39:26 am Daichi GOTO wrote:
> Next step discussion engaged from this research I guess.
> 
> Should we do change FreeBSD's fcntl(2) to return correct l_pid
> when called with F_SETLK?  Or keep current behavior??
> I want to hear other developers ideas and suggetions.

POSIX doesn't say that F_SETLK returns a valid l_pid, so I think FreeBSD's 
current behavior is fine.

-- 
John Baldwin
Received on Mon Oct 11 2010 - 16:13:44 UTC

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