aboutsummaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorMitch Phillips <mitchp@google.com>2022-02-04 17:13:27 -0800
committerMitch Phillips <mitchp@google.com>2022-02-08 13:17:18 -0800
commit9425b16978f9c5aa8f2c50c873db470819480d1d (patch)
tree679a33df6c994b2767f8eaed660c665146963484 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parentc81de9373ad5f46ba4805418bb3a50021f3827c2 (diff)
[MTE] Relax ELF note.
Currently, the ELF note parsing in the loader is not permissive. This patch relaxes the restrictions on the bits of the ELF note that could be extended in the future. This may allow more MTE options in apexes. If we add some extra metadata bit (say, in bit 5) in the future, and then build MTE into every apex, we don't want it to crash on Android 13 devices (we'd much rather it just be a no-op). Remove the (unused anywhere) NT_MEMTAG_DEFAULT and call it NT_MEMTAG_NONE. And finally, make the tests work on bionic-unit-tests-static. We previously didn't deploy the test binaries, so add them as a data dependency. Bug: N/A Test: atest bionic-unit-tests-static Change-Id: I13530faad55c719c6eb848297f8ce378e18afbfc
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions