lkml.org 
[lkml]   [1999]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: File Locking Bug
On Wed, Mar 24, 1999 at 11:13:49AM +0000, David Howells wrote:
> I've found that two different processes can both simultaneously hold write
> locks on a file, as long as one uses fcntl() and the other uses flock()!
> Should this be the case? Surely, write locks of any sort should be mutually
> exclusive.
>
> This is using linux 2.2.3

Which libc the programs use? I'd expect that flock() is emulated by fcntl().


Werner

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.043 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site