about summary refs log tree commit diff
path: root/misc/syscall.h
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2020-11-20 17:20:10 +0000
committerRichard Earnshaw <rearnsha@arm.com>2020-11-20 18:13:52 +0000
commit05ab98edbda5a751ca3831058d196309b48e8d2b (patch)
tree1f10c89747b99da39682576dabe5c968b3ed275e /misc/syscall.h
parent4b1d715c69387b7f43d9faffbfcb59092639272c (diff)
downloadglibc-05ab98edbda5a751ca3831058d196309b48e8d2b.tar.gz
glibc-05ab98edbda5a751ca3831058d196309b48e8d2b.tar.xz
glibc-05ab98edbda5a751ca3831058d196309b48e8d2b.zip
aarch64: Add sysv specific enabling code for memory tagging
Add various defines and stubs for enabling MTE on AArch64 sysv-like
systems such as Linux.  The HWCAP feature bit is copied over in the
same way as other feature bits.  Similarly we add a new wrapper header
for mman.h to define the PROT_MTE flag that can be used with mmap and
related functions.

We add a new field to struct cpu_features that can be used, for
example, to check whether or not certain ifunc'd routines should be
bound to MTE-safe versions.

Finally, if we detect that MTE should be enabled (ie via the glibc
tunable); we enable MTE during startup as required.
Diffstat (limited to 'misc/syscall.h')
0 files changed, 0 insertions, 0 deletions