about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-08-10 10:20:13 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-08-10 10:20:13 +0200
commit690652882b499defb3d950dfeff8fe421d13cab5 (patch)
tree27ffda825af3306ebeaaf1c3e5e4715ba6949033 /ChangeLog
parent8f135efcad9f32daaa560b7403ab8c1498c0c659 (diff)
downloadglibc-690652882b499defb3d950dfeff8fe421d13cab5.tar.gz
glibc-690652882b499defb3d950dfeff8fe421d13cab5.tar.xz
glibc-690652882b499defb3d950dfeff8fe421d13cab5.zip
Linux: Rewrite __old_getdents64 [BZ #23497]
Commit 298d0e3129c0b5137f4989275b13fe30d0733c4d ("Consolidate Linux
getdents{64} implementation") broke the implementation because it does
not take into account struct offset differences.

The new implementation is close to the old one, before the
consolidation, but has been cleaned up slightly.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index bcbeb8cd67..48fd7ebcb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2018-08-10  Florian Weimer  <fweimer@redhat.com>
+
+	[BZ #23497]
+	* sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
+	function.
+	(__old_getdents64): Use getdents64.  Convert entries without
+	moving them.
+	* sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
+	* sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
+	tst-readdir64-compat.
+
 2018-08-10  Ilya Leoshkevich  <iii@linux.ibm.com>
 
 	* sysdeps/s390/s390-32/s390-mcount.S (_mcount):