aboutsummaryrefslogtreecommitdiff
path: root/malloc/arena.c
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2020-12-21 15:03:03 +0000
committerRichard Earnshaw <rearnsha@arm.com>2020-12-21 15:25:25 +0000
commit26450d04d38c8ed7ce5f2c89114b18c5508f13f1 (patch)
treebc0d87f44a06d734a62be33261a0b51a55168648 /malloc/arena.c
parent3378408987189772eec7bc62fc9923a6f01dc63c (diff)
downloadglibc-26450d04d38c8ed7ce5f2c89114b18c5508f13f1.zip
glibc-26450d04d38c8ed7ce5f2c89114b18c5508f13f1.tar.gz
glibc-26450d04d38c8ed7ce5f2c89114b18c5508f13f1.tar.bz2
elf: Add a tunable to control use of tagged memory
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.
Diffstat (limited to 'malloc/arena.c')
0 files changed, 0 insertions, 0 deletions