File Locking Bug

David Howells (David.Howells@nexor.co.uk)
Wed, 24 Mar 1999 11:13:49 GMT


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

David Howells

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