public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Deleted branch azanella/bz23960
@ 2020-04-15 14:14 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2020-04-15 14:14 UTC (permalink / raw)
  To: glibc-cvs

The branch 'azanella/bz23960' was deleted.
It previously pointed to:

 8621a1b20c... linux: Use getdents64 on readdir64 compat implementation

Diff:

!!! WARNING: THE FOLLOWING COMMITS ARE NO LONGER ACCESSIBLE (LOST):
-------------------------------------------------------------------

  8621a1b... linux: Use getdents64 on readdir64 compat implementation
  126e0e2... linux: Add __old_readdir64_unlocked
  75c0e60... linux: Add __readdir64_unlocked
  39d7abc... linux: Set internal DIR filepos as off64_t [BZ #23960, BZ #
  2f2bc59... linux: Use getdents64 on non-LFS readdir
  672c91d... linux: Use internal DIR locks when accessing filepos on tel
  49ffe35... linux: Add __readdir_unlocked
  0a6ff81... linux: Simplify opendir buffer allocation
  d75d5ba... linux: Move posix dir implementations to Linux

commit 8621a1b20cd09e4cbbcb3677f016eff39996dadb
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Apr 14 13:54:07 2020 -0300

    linux: Use getdents64 on readdir64 compat implementation
    
    It uses a similar strategy from the non-LFS getdents that also
    uses getdents64 internally, by reserving some space on the allocated
    internal DIR buffer to be used as a temporary buffer. The kernel
    obtained dirent64 struct are then copied to the temporary buffe
    for each readdir compat call.
    
    It allows to remove __old_getdents64.
    
    Checked on i686-linux-gnu.

commit 126e0e2318acee8baa8f0855eaa69324458a4eef
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Apr 14 11:14:22 2020 -0300

    linux: Add __old_readdir64_unlocked
    
    And use it __old_readdir64_r.
    
    Checked on i686-linux-gnu.

commit 75c0e60507ab2bfc50d94c85370ab90ede3baf7b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Apr 13 08:35:40 2020 -0300

    linux: Add __readdir64_unlocked
    
    And use it on readdir_r implementation.
    
    Checked on i686-linux-gnu.

commit 39d7abcfecef2d8e3e3a25e53bd42f706ad990c1
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Apr 13 18:09:20 2020 -0300

    linux: Set internal DIR filepos as off64_t [BZ #23960, BZ #24050]
    
    It allows to obtain the expected entry offset on telldir and set
    it correctly on seekdir on platforms where long int is smaller
    than off64_t.
    
    On such cases telldir will mantain an internal list of offsets per
    DIR object that maps a long int, the function return value, to a
    off64_t, the directory entry offset.  The seekdir will then obtained
    the correct offset from the internal list and rewinddir resets
    the list as well.
    
    It also removes the overflow check on readdir and the returned value
    will be truncated by the non-LFS off_t size.  As Joseph has noted
    in BZ #23960 comment #22, d_off is an opaque value and telldir/seekdir
    works using the DIR filepos field.
    
    Finally it removed the requirement to check for overflow values on
    telldir (BZ #24050).
    
    Checked on i686-linux-gnu and x86_64-linux-gnu.

commit 2f2bc5957a3d3a3653f62cc32b8f7a636c009411
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Apr 13 08:06:57 2020 -0300

    linux: Use getdents64 on non-LFS readdir
    
    It reserves some space on the allocated internal DIR buffer to be
    used as a temporary buffer. The kernel obtained dirent64 struct
    are then copied to the temporary buffer for each readdir call.
    
    The overflow test is moved to once the dirent64 entry is copied
    to the temporary buffer and a subsequent readdir will obtain the
    next entry.  The idea is to work on filesystem that does not have
    the idea of sequential d_off (such as ext4).
    
    Checked on x86_64-linux-gnu and i686-linux-gnu.

commit 672c91d33cc211e8b8d0f5d1556eb1ea164a98f0
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Apr 14 17:41:56 2020 -0300

    linux: Use internal DIR locks when accessing filepos on telldir
    
    Since it might change during a readdir call.
    
    Checked on x86_64-linux-gnu and i686-linux-gnu.

commit 49ffe35ce28c12eec1000632f77dd715363638f7
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Apr 14 17:22:29 2020 -0300

    linux: Add __readdir_unlocked
    
    And use on readdir_r implementation.
    
    Checked on i686-linux-gnu.

commit 0a6ff811c0223ba9df78869c27cc22b86e60f767
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Sun Apr 12 17:42:35 2020 -0300

    linux: Simplify opendir buffer allocation
    
    THe fallback allocation is removed, __alloc_dir assumes that 'statp'
    argument is non-null, and the max_buffer_size move to close its
    used.
    
    Checked on x86_64-linux-gnu and i686-linux-gnu.

commit d75d5ba4e4a714e732c3ede0b90c184440cbaad1
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Sat Apr 11 17:07:11 2020 -0300

    linux: Move posix dir implementations to Linux
    
    This generic implementation already expects a getdents API which
    is Linux specific.  It also allows simplify it by assuming
    _DIRENT_HAVE_D_RECLEN and _DIRENT_HAVE_D_OFF support.
    
    Checked on x86_64-linux-gnu and i686-linux-gnu.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [glibc] Deleted branch azanella/bz23960
@ 2020-04-17 13:22 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2020-04-17 13:22 UTC (permalink / raw)
  To: glibc-cvs

The branch 'azanella/bz23960' was deleted.
It previously pointed to:

 2a73dbb0c0... linux: Use getdents64 on readdir64 compat implementation

Diff:

!!! WARNING: THE FOLLOWING COMMITS ARE NO LONGER ACCESSIBLE (LOST):
-------------------------------------------------------------------

  2a73dbb... linux: Use getdents64 on readdir64 compat implementation
  8bd86fb... linux: Add __old_readdir64_unlocked
  3ff85f6... linux: Add __readdir64_unlocked
  7c4f353... linux: Set internal DIR filepos as off64_t [BZ #23960, BZ #
  bf75a21... linux: Use getdents64 on non-LFS readdir
  3c323eb... linux: Use internal DIR locks when accessing filepos on tel
  bc08d27... linux: Add __readdir_unlocked
  e84a7ef... linux: Simplify opendir buffer allocation
  8d7d1c1... linux: Move posix dir implementations to Linux

commit 2a73dbb0c0d97c2c159b3042e960aa80603890fd
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Apr 14 13:54:07 2020 -0300

    linux: Use getdents64 on readdir64 compat implementation
    
    It uses a similar strategy from the non-LFS readdir that also
    uses getdents64 internally and reserves some space on the allocated
    internal DIR buffer to be used as a temporary buffer. The kernel
    obtained dirent64 data are copied to the temporary buffer for each
    readdir compat call.
    
    It allows to remove __old_getdents64.
    
    Checked on i686-linux-gnu.

commit 8bd86fb8bf2140beb8bfcefd548aa8092cddce2e
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Apr 14 11:14:22 2020 -0300

    linux: Add __old_readdir64_unlocked
    
    And use it __old_readdir64_r.
    
    Checked on i686-linux-gnu.

commit 3ff85f6578c7cd0630908555c745e5e77358204e
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Apr 13 08:35:40 2020 -0300

    linux: Add __readdir64_unlocked
    
    And use it on readdir_r implementation.
    
    Checked on i686-linux-gnu.

commit 7c4f353cd915ff1c760d57108f078b76abcb2d8c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Apr 13 18:09:20 2020 -0300

    linux: Set internal DIR filepos as off64_t [BZ #23960, BZ #24050]
    
    It allows to obtain the expected entry offset on telldir and set
    it correctly on seekdir on platforms where long int is smaller
    than off64_t.
    
    On such cases telldir will mantain an internal list that maps the
    DIR object off64_t offsets to the returned long int (the function
    return value).  The seekdir will then set the correct offset from
    the internal list using the telldir as the list key.
    
    It also removes the overflow check on readdir and the returned value
    will be truncated by the non-LFS off_t size.  As Joseph has noted
    in BZ #23960 comment #22, d_off is an opaque value and since
    telldir/seekdir works regardless of the returned dirent d_off value.
    
    Finally it removed the requirement to check for overflow values on
    telldir (BZ #24050).
    
    Checked on i686-linux-gnu and x86_64-linux-gnu.

commit bf75a21f54835e7b96193ae92e0ae3362f7bdbf6
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Apr 13 08:06:57 2020 -0300

    linux: Use getdents64 on non-LFS readdir
    
    It reserves some space on the allocated internal buffer to be
    used as a the returned dirent struct.  The kernel obtained dirent64
    struct are copied to the temporary buffer on each readdir call.
    
    The overflow test is moved once the dirent64 entry is copied
    to the temporary buffer, and a subsequent readdir will obtain the
    next entry.  The idea is an overflow fails to return the entry on
    readdir, but a next readdir might still obtain the next entry.
    (for filesystem that does not have the concept of sequential d_off,
    such as ext4).
    
    Checked on x86_64-linux-gnu and i686-linux-gnu.

commit 3c323eb3c40db9cfcdcbc9c8a0c10959cf03c367
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Apr 14 17:41:56 2020 -0300

    linux: Use internal DIR locks when accessing filepos on telldir
    
    Since it might change during a readdir call.
    
    Checked on x86_64-linux-gnu and i686-linux-gnu.

commit bc08d27a4d7ead9fa87853b442463d79d4775e7e
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Apr 14 17:22:29 2020 -0300

    linux: Add __readdir_unlocked
    
    And use it on readdir_r implementation.
    
    Checked on i686-linux-gnu.

commit e84a7ef34dcef0d0671dae5c018d7448b10b017e
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Sun Apr 12 17:42:35 2020 -0300

    linux: Simplify opendir buffer allocation
    
    THe fallback allocation is removed, so the possible size constraint
    should be analized just once; __alloc_dir assumes that 'statp'
    argument is non-null, and the max_buffer_size move to close its
    used.
    
    Checked on x86_64-linux-gnu and i686-linux-gnu.

commit 8d7d1c1d282ce9993b990ba285a0cd6d181d7604
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Sat Apr 11 17:07:11 2020 -0300

    linux: Move posix dir implementations to Linux
    
    This generic implementation already expects a getdents API which
    is Linux specific.  It also allows simplify it by assuming
    _DIRENT_HAVE_D_RECLEN and _DIRENT_HAVE_D_OFF support.
    
    The readdir are also expanded on each required implementation,
    futher fixes and improvements will make parametrize the
    implementation more complex.
    
    Checked on x86_64-linux-gnu and i686-linux-gnu.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [glibc] Deleted branch azanella/bz23960
@ 2020-04-16 13:20 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2020-04-16 13:20 UTC (permalink / raw)
  To: glibc-cvs

The branch 'azanella/bz23960' was deleted.
It previously pointed to:

 5d2edfbc17... linux: Use getdents64 on readdir64 compat implementation

Diff:

!!! WARNING: THE FOLLOWING COMMITS ARE NO LONGER ACCESSIBLE (LOST):
-------------------------------------------------------------------

  5d2edfb... linux: Use getdents64 on readdir64 compat implementation
  845ad64... linux: Add __old_readdir64_unlocked
  583ab01... linux: Add __readdir64_unlocked
  e331520... linux: Set internal DIR filepos as off64_t [BZ #23960, BZ #
  5953fcf... linux: Use getdents64 on non-LFS readdir
  c47a5be... linux: Use internal DIR locks when accessing filepos on tel
  09a38c4... linux: Add __readdir_unlocked
  85030d0... linux: Simplify opendir buffer allocation
  8d7d1c1... linux: Move posix dir implementations to Linux

commit 5d2edfbc172b8788fcfcffbafc650cd313ec1f4d
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Apr 14 13:54:07 2020 -0300

    linux: Use getdents64 on readdir64 compat implementation
    
    It uses a similar strategy from the non-LFS readdir that also
    uses getdents64 internally and reserves some space on the allocated
    internal DIR buffer to be used as a temporary buffer. The kernel
    obtained dirent64 data are copied to the temporary buffer for each
    readdir compat call.
    
    It allows to remove __old_getdents64.
    
    Checked on i686-linux-gnu.

commit 845ad6422132a8e3aadb365ea414f6ba5b872606
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Apr 14 11:14:22 2020 -0300

    linux: Add __old_readdir64_unlocked
    
    And use it __old_readdir64_r.
    
    Checked on i686-linux-gnu.

commit 583ab0117a68c5c19f8e1b17508faaf14cda6c1f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Apr 13 08:35:40 2020 -0300

    linux: Add __readdir64_unlocked
    
    And use it on readdir_r implementation.
    
    Checked on i686-linux-gnu.

commit e3315202b5a1f0570d85696202a5b887362496a6
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Apr 13 18:09:20 2020 -0300

    linux: Set internal DIR filepos as off64_t [BZ #23960, BZ #24050]
    
    It allows to obtain the expected entry offset on telldir and set
    it correctly on seekdir on platforms where long int is smaller
    than off64_t.
    
    On such cases telldir will mantain an internal list that maps the
    DIR object off64_t offsets to the returned long int (the function
    return value).  The seekdir will then set the correct offset from
    the internal list using the telldir as the list key.
    
    It also removes the overflow check on readdir and the returned value
    will be truncated by the non-LFS off_t size.  As Joseph has noted
    in BZ #23960 comment #22, d_off is an opaque value and since
    telldir/seekdir works regardless of the returned dirent d_off value.
    
    Finally it removed the requirement to check for overflow values on
    telldir (BZ #24050).
    
    Checked on i686-linux-gnu and x86_64-linux-gnu.

commit 5953fcf52f5dc77f6bed98d2eb470c40215a2d36
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Apr 13 08:06:57 2020 -0300

    linux: Use getdents64 on non-LFS readdir
    
    It reserves some space on the allocated internal buffer to be
    used as a the returned dirent struct.  The kernel obtained dirent64
    struct are copied to the temporary buffer on each readdir call.
    
    The overflow test is moved once the dirent64 entry is copied
    to the temporary buffer, and a subsequent readdir will obtain the
    next entry.  The idea is an overflow fails to return the entry on
    readdir, but a next readdir might still obtain the next entry.
    (for filesystem that does not have the concept of sequential d_off,
    such as ext4).
    
    Checked on x86_64-linux-gnu and i686-linux-gnu.

commit c47a5befab08442d9c46b5afc2cddc7eff3cf47a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Apr 14 17:41:56 2020 -0300

    linux: Use internal DIR locks when accessing filepos on telldir
    
    Since it might change during a readdir call.
    
    Checked on x86_64-linux-gnu and i686-linux-gnu.

commit 09a38c487d8012bac78f82c578489a87956005e3
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Apr 14 17:22:29 2020 -0300

    linux: Add __readdir_unlocked
    
    And use it on readdir_r implementation.
    
    Checked on i686-linux-gnu.

commit 85030d0a99ac6fa42049ff001485959e125ee264
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Sun Apr 12 17:42:35 2020 -0300

    linux: Simplify opendir buffer allocation
    
    THe fallback allocation is removed, so the possible size constraint
    should be analized just once; __alloc_dir assumes that 'statp'
    argument is non-null, and the max_buffer_size move to close its
    used.
    
    Checked on x86_64-linux-gnu and i686-linux-gnu.

commit 8d7d1c1d282ce9993b990ba285a0cd6d181d7604
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Sat Apr 11 17:07:11 2020 -0300

    linux: Move posix dir implementations to Linux
    
    This generic implementation already expects a getdents API which
    is Linux specific.  It also allows simplify it by assuming
    _DIRENT_HAVE_D_RECLEN and _DIRENT_HAVE_D_OFF support.
    
    The readdir are also expanded on each required implementation,
    futher fixes and improvements will make parametrize the
    implementation more complex.
    
    Checked on x86_64-linux-gnu and i686-linux-gnu.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [glibc] Deleted branch azanella/bz23960
@ 2020-04-14 21:08 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2020-04-14 21:08 UTC (permalink / raw)
  To: glibc-cvs

The branch 'azanella/bz23960' was deleted.
It previously pointed to:

 0ccab8d654... linux: Handle internal DIR offsets as 64-bit

Diff:

!!! WARNING: THE FOLLOWING COMMITS ARE NO LONGER ACCESSIBLE (LOST):
-------------------------------------------------------------------

  0ccab8d... linux: Handle internal DIR offsets as 64-bit
  b329549... linux: Add __readdir64_unlocked
  c245e56... linux: Use gendents64 on non-LFS readdir
  6046773... linux: Simplify opendir buffer allocation
  e9b62d9... linux: Move dir implementation to Linux only
  48c57cf... Set _DIRENT_HAVE_D_TYPE to 1
  4674c3e... Assume _DIRENT_HAVE_D_OFF
  a1c3b10... posix: Assume _DIRENT_HAVE_D_RECLEN

commit 0ccab8d65484bec9f01867a52a050a85741dd551
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Apr 13 18:09:20 2020 -0300

    linux: Handle internal DIR offsets as 64-bit

commit b3295496c9b6d1a381faddcf1921343a1f7614ad
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Apr 13 08:35:40 2020 -0300

    linux: Add __readdir64_unlocked

commit c245e56ddab7c1101db2dd8b14a9474774e5d26b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Apr 13 08:06:57 2020 -0300

    linux: Use gendents64 on non-LFS readdir

commit 60467738ef49863d556005925a7fe53489dd16f9
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Sun Apr 12 17:42:35 2020 -0300

    linux: Simplify opendir buffer allocation

commit e9b62d9a9d74851df912bec4816e7c574234293d
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Sun Apr 12 16:50:15 2020 -0300

    linux: Move dir implementation to Linux only

commit 48c57cf464dda98e60cf8fde97b13b3ccca0f679
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Sat Apr 11 17:23:49 2020 -0300

    Set _DIRENT_HAVE_D_TYPE to 1

commit 4674c3ec0247a77f14957c9d2466c191cdeac92f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Sat Apr 11 17:20:51 2020 -0300

    Assume _DIRENT_HAVE_D_OFF

commit a1c3b106c9dfe1d102594a49f16dd6d3fd6754e3
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Sat Apr 11 17:07:11 2020 -0300

    posix: Assume _DIRENT_HAVE_D_RECLEN


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-17 13:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-15 14:14 [glibc] Deleted branch azanella/bz23960 Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2020-04-17 13:22 Adhemerval Zanella
2020-04-16 13:20 Adhemerval Zanella
2020-04-14 21:08 Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).