diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2020-12-18 19:00:49 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2020-12-18 19:23:04 +0000 |
commit | d3b950c14e37e76185801d1f8685ed32ef2b4e9d (patch) | |
tree | 8730c2a557c4445b79b7e64a4f34b1a2cd18cc53 /resolv/nss_dns/dns-network.c | |
parent | fd2892858bf444e1d5ca7a5f3490a6a47eed2ace (diff) | |
download | glibc-d3b950c14e37e76185801d1f8685ed32ef2b4e9d.tar.gz glibc-d3b950c14e37e76185801d1f8685ed32ef2b4e9d.tar.xz glibc-d3b950c14e37e76185801d1f8685ed32ef2b4e9d.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 'resolv/nss_dns/dns-network.c')
0 files changed, 0 insertions, 0 deletions