platform_bionic/libc/platform/bionic
Peter Collingbourne 900d07d6a1 Add arm64 string.h function implementations for use with hardware supporting MTE.
As it turns out, our "generic" arm64 implementations of certain string.h
functions are not actually generic, since they will eagerly read memory
possibly outside of the bounds of an MTE granule, which may lead to a segfault
on MTE-enabled hardware. Therefore, move the implementations into a "default"
directory and use ifuncs to select between them and a new set of "mte"
implementations, conditional on whether the hardware and kernel support MTE.

The MTE implementations are currently naive implementations written in C
but will later be replaced with a set of optimized assembly implementations.

Bug: 135772972
Change-Id: Ife37c4e0e6fd60ff20a34594cc09c541af4d1dd7
2019-10-29 16:18:31 -07:00
..
malloc.h
mte_kernel.h Add arm64 string.h function implementations for use with hardware supporting MTE. 2019-10-29 16:18:31 -07:00
tls.h Make tls related header files platform accessible. 2019-09-27 12:14:24 -07:00
tls_defines.h Make tls related header files platform accessible. 2019-09-27 12:14:24 -07:00