[PATCH v5 2/6] elf: Add a tunable to control use of tagged memory
Richard Earnshaw
rearnsha@arm.com
Mon Dec 21 15:33:41 GMT 2020
Add a new glibc tunable: mem.tagging. This is a decimal constant in
the range 0-255 but used as a bit-field.
Bit 0 enables use of tagged memory in the malloc family of functions.
Bit 1 enables precise faulting of tag failure on platforms where this
can be controlled.
Other bits are currently unused, but if set will cause memory tag
checking for the current process to be enabled in the kernel.
---
elf/dl-tunables.list | 9 +++++++++
manual/tunables.texi | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v5-0002-elf-Add-a-tunable-to-control-use-of-tagged-memory.patch
Type: text/x-patch
Size: 2114 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20201221/ec6c9fc1/attachment-0001.bin>
More information about the Libc-alpha
mailing list