From 200fc24b9dd2360bc850fe71ed22410051426d96 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 7 Jan 2018 13:31:36 +0100 Subject: 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 | 1 + 1 file changed, 1 insertion(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 8ddf37ebb8..f0eb187b38 100644 --- a/ChangeLog +++ b/ChangeLog @@ -36,6 +36,7 @@ (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64. * sysdeps/gnu/glob-lstat-compat.c: New file. * sysdeps/gnu/glob64-lstat-compat.c: New file. + * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot. 2018-01-05 Tulio Magno Quites Machado Filho -- cgit 1.4.1