This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251)
- From: Samuel Thibault <samuel dot thibault at gnu dot org>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 15 Nov 2018 21:59:34 +0100
- Subject: Re: Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251)
- References: <20181115012457.ssscem7zfceifykq@function> <20181115012939.il77yr2gxkxyswu6@function> <20181115013648.xcxewlolirj35o3d@function> <901f8a33-88d5-73f4-90f4-ea0c1ee9b3a5@linaro.org> <20181115185350.umini454u67gtbco@function> <b9b32dee-7710-0da8-233e-794844b34b8a@linaro.org>
Adhemerval Zanella, le jeu. 15 nov. 2018 11:43:26 -0800, a ecrit:
> > Where is this code? I don't find it in the glibc repository, neither on
> > master nor on release/2.28/master.
>
> This is from Linux kernel, file fs/fcntl.c.
Ah, ok
> The size of the advisory lock will deducted from F_SETLKW or
> F_SETLKW64 and for Linux this is handled transparently by the kernel.
Ok.
Thanks!
Samuel