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

From: Daichi GOTO <daichi_at_ongs.co.jp>
Date: Tue, 12 Oct 2010 12:22:18 +0200
Sent from my iPad

On Oct 11, 2010, at 5:50 PM, John Baldwin <jhb_at_freebsd.org> wrote:

> 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.

Yes, I agree. POSIX says so.

> -- 
> John Baldwin
Received on Tue Oct 12 2010 - 01:21:58 UTC

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