aboutsummaryrefslogtreecommitdiff
path: root/malloc/alloc_buffer_alloc_array.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-10-21 12:35:33 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-11-22 14:31:25 +0000
commit8b79bc92fab1cd4a8443cdcd3f9e313091d8bd62 (patch)
treead75972a2abaf8a4bffea2dcd90f57e61d871763 /malloc/alloc_buffer_alloc_array.c
parent3244a1fc1981694d582d7afbdc7e8e283530d485 (diff)
downloadglibc-8b79bc92fab1cd4a8443cdcd3f9e313091d8bd62.tar.xz
glibc-8b79bc92fab1cd4a8443cdcd3f9e313091d8bd62.zip
cheri: malloc: Ensure the mappings have RW permission
The arena allocator incrementally applies RW mprotect to a PROT_NONE mapping. Use PROT_MAX to ensure the pointers derived from the original mapping have RW capability permission.
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions