]> git.ipfire.org Git - thirdparty/glibc.git/commit
Handle unnecessary padding in getdents64.
authorUlrich Drepper <drepper@redhat.com>
Sun, 4 Apr 2010 06:51:40 +0000 (23:51 -0700)
committerPetr Baudis <pasky@ucw.cz>
Wed, 12 May 2010 01:21:07 +0000 (03:21 +0200)
commit043ea9e79d25398e8e0025b48444257e9e48029c
treeb5d7d75c541c95b92f6e6bfdf117a1603fa71056
parentea614f680d5ede741bb2511364d190bceb9073b2
Handle unnecessary padding in getdents64.

The getdents64 syscall adds on 32-but platforms padding which isn't needed
and not included in the userlevel data structure definition.  We have to
avoid copying those padding bytes in the readdir64_r function.

(cherry picked from commit 1a81139728494810f65aaa0d0c538ff8c2783dd5)
ChangeLog
sysdeps/unix/readdir_r.c
sysdeps/unix/sysv/linux/i386/readdir64_r.c