OFD locks

Brian Inglis Brian.Inglis@SystematicSW.ab.ca
Tue Aug 5 20:16:14 GMT 2025


On 2025-08-05 09:37, Corinna Vinschen wrote:
> I just pushed a patch to implement OFD locks.  It's just basically
> working, but I only performed some very simple tests, so it probably
> has a bug or two.
> 
> I'm offline until next Monday, but I wouldn't mind if somebody has a few
> tests to check that OFD locks and the interaction with traditional POSIX
> locks works as desired.  I looked into the GLibc testsuite but it is not
> helpful in terms of testing locking.
No idea about testing; but is there likely to be any support for:

proc_locks(5)	https://man7.org/linux/man-pages/man5/proc_locks.5.html

(available in man-pages-linux) so that

lslocks(8)	https://www.man7.org/linux/man-pages/man8/lslocks.8.html

https://github.com/util-linux/util-linux/blob/master/misc-utils/lslocks.8.adoc

(available in upstream sources) could be supported in util-linux?

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


More information about the Cygwin-developers mailing list