]> git.ipfire.org Git - thirdparty/glibc.git/commit
hurd mmap: Reduce the requested max vmprot
authorSergey Bugaev <bugaevc@gmail.com>
Wed, 11 Aug 2021 16:34:53 +0000 (18:34 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 11 Aug 2021 16:39:51 +0000 (18:39 +0200)
commit5a5358b749d0b153de6f6361342d06228d7270be
treef3ef6c236f62f412bfff67af727383a5340b9dd1
parent08fc6df294ab7e10e14492094a99b7861ad7d77e
hurd mmap: Reduce the requested max vmprot

When the memory object is read-only, the kernel would be right in
refusing max vmprot containing VM_PROT_WRITE.

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
sysdeps/mach/hurd/mmap.c