diff options
author | Jiyong Park <jiyong@google.com> | 2019-04-10 02:29:25 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2019-04-11 21:37:59 +0900 |
commit | 5569650721fd4f19b02c77bbef3c0ce493537699 (patch) | |
tree | 67d39ec7db5503626d82ab3e45d96695ee207a7a /libc/malloc_debug/malloc_debug.cpp | |
parent | 3ff116a68cfce57b4d343ae829542a9afdd2184b (diff) |
Don't load libc_malloc_* libs from runtime ns for libc_scudo
malloc_common_dynamic.cpp is compiled into both libc.so and
libc_scudo.so. When compiled for libc_scudo.so, it doesn't try to load
libc_malloc_* libs from the runtime linker namespace. This is because,
unlike libc.so which is shared from the runtime APEX, libc_scudo.so is
copied to any APEX that it needs. Furthermore, libdl_android which
provides android_get_exported_namespace is not available for vendors. So
the vendor variant of libc_scudo.so can't anyway locate the runtime
namespace.
Bug: 130213757
Bug: 122566199
Test: `m libc_scudo libc_scudo` is successful
Test: inspect the built library to see if it has reference to
android_get_exported_namespace
Merged-In: I4c41de361fdb3fa34b95218923f4ce4e9c010f9e
Change-Id: I4c41de361fdb3fa34b95218923f4ce4e9c010f9e
(cherry picked from commit ff94a13d2d0679ea1ceb60464547237bb59362f7)
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions