diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-09-21 15:32:34 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-10-27 14:46:55 +0100 |
commit | c7cfa38968fda587bbd08cd6fe1e105d8e01d229 (patch) | |
tree | 9b56eabc001c236e2e063883c6907fe22135aa5d /sysdeps/unix/sysv/linux/sendmsg.c | |
parent | 131a8501116b1e9f0ac71aeeb513094be5f99b99 (diff) | |
download | glibc-c7cfa38968fda587bbd08cd6fe1e105d8e01d229.tar glibc-c7cfa38968fda587bbd08cd6fe1e105d8e01d229.tar.gz glibc-c7cfa38968fda587bbd08cd6fe1e105d8e01d229.tar.bz2 glibc-c7cfa38968fda587bbd08cd6fe1e105d8e01d229.zip |
cheri: malloc: Initial capability narrowing support
Public interfaces return pointers with narrow bounds, this internally
requires bumping the size and alignment requirement of allocations so
the bounds are representible.
When pointers with narrow bounds need to be turned back to have wide
bounds (free, realloc), the pointer is rederived from DDC. (So this
patch relies on DDC to cover all heap memory with RW permission.)
Allocations above the mmap threshold waste memory for alignment and
realloc often falls back to the inefficient alloc, copy, free sequence
instead of mremap or other inplace solution.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sendmsg.c')
0 files changed, 0 insertions, 0 deletions