diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-06-26 02:17:48 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-07-03 01:38:08 +0200 |
commit | 4b5e576fc21931969c0a1b53fdaf7ce3bfcebb86 (patch) | |
tree | d43ea87d74c802ee718b178c2138066a902dd204 /misc | |
parent | 019b0bbc84e2048556ac1a6b6df3a61e45fc1e17 (diff) | |
download | glibc-4b5e576fc21931969c0a1b53fdaf7ce3bfcebb86.tar glibc-4b5e576fc21931969c0a1b53fdaf7ce3bfcebb86.tar.gz glibc-4b5e576fc21931969c0a1b53fdaf7ce3bfcebb86.tar.bz2 glibc-4b5e576fc21931969c0a1b53fdaf7ce3bfcebb86.zip |
hurd: Map brk non-executable
The rest of the heap (backed by individual pages) is already mapped RW.
Mapping these pages RWX presents a security hazard.
Also, in another branch memory gets allocated using vm_allocate, which
sets memory protection to VM_PROT_DEFAULT (which is RW). The mismatch
between protections prevents Mach from coalescing the VM map entries.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230625231751.404120-2-bugaevc@gmail.com>
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions