[PATCH v3 0/7] Fix getdents{64} regression on some FS

John Paul Adrian Glaubitz glaubitz@physik.fu-berlin.de
Thu Aug 19 16:07:59 GMT 2021


Hello!

On 10/21/20 4:15 PM, Adhemerval Zanella wrote:
> This is updated version [1], rebased against master add with some
> suggestion from previous review.  The main changes are:
> 
>   - The translation buffer is allocated as an auxiliarry one (instead
>     of a reserved spacefrom the dirstream) and readdir might reallocate
>     it if it finds a large entry.
> 
>   - Failures in non-LFS readdir (such as d_ino/d_off overflow or failure
>     in expand the translation buffer) is ignored.  This allows code that
>     does not handle possible failure in readdir to successful read the
>     rest of entries in the directory.
> 
>   - So minor fixes in dirent/tst-seekdir2.c
> 
>   - Added __attribute_deprecated_msg__ on getdirentries to redirect to
>     getdents64.
> 
> I have checked on x86_64-linux-gnu, powerpc64-linux-gnu and on some
> 32-bit ABIs arm-linux-gnueabihf, powerpc-linux-gnu, and sparcv9-linux-gnu.

Are there any news on this patch series besides the v3 version? [1]

Thanks,
Adrian

> [1] https://patchwork.ozlabs.org/project/glibc/list/?series=209257

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


More information about the Libc-alpha mailing list