]> git.ipfire.org Git - thirdparty/glibc.git/commit
hurd: Fix pwritev*
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 7 Jan 2018 12:31:36 +0000 (13:31 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 7 Jan 2018 12:31:36 +0000 (13:31 +0100)
commit200fc24b9dd2360bc850fe71ed22410051426d96
treef145db6774c8f9727e2debe9b9ac59fc9acee50c
parent8e13c51bb579d56b52e93a058c9efb0bbab35d1b
hurd: Fix pwritev*

This follows c45d78aac ('posix: Fix generic p{read,write}v buffer allocation
(BZ#22457)'), which made pwritev to use __mmap instead of __posix_memalign,
but didn't pass PROT_READ to it, while the pwrite() call does need to
read the data we have just copied over.

* sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
ChangeLog
sysdeps/posix/pwritev_common.c