platform_bionic/libc
Jiyong Park 5569650721 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 ff94a13d2d)
2019-04-11 21:37:59 +09:00
..
arch-arm Switch libm to libcrt.builtins 2019-02-22 13:33:15 -08:00
arch-arm64 Annotate vfork for hwasan. 2019-03-19 23:36:44 +00:00
arch-common/bionic Change crtbrand for host bionic 2018-10-22 17:15:22 -07:00
arch-mips Switch libc to libcrt.builtins 2019-02-15 12:46:19 -08:00
arch-mips64 bionic: add vdso clock_getres 2017-12-07 09:41:48 -08:00
arch-x86 Remove workaround for x86 ifunc 2019-03-20 05:37:41 +00:00
arch-x86_64 Use TLS_SLOT_THREAD_ID macro in vfork.S 2019-01-16 01:11:26 -08:00
async_safe Mark lib_async_safe_headers as supporting linux_bionic 2019-02-19 09:47:40 -08:00
bionic Don't load libc_malloc_* libs from runtime ns for libc_scudo 2019-04-11 21:37:59 +09:00
dns Merge "Replace android_open_proxy with dns_open_proxy" 2018-11-28 12:21:33 +00:00
include Merge "Reserve realtime signal for libprofile-extras" 2019-03-29 15:57:32 +00:00
kernel clean_header: Don't print extraneous newline char 2019-03-29 15:17:48 -07:00
malloc_debug Disable info messages by default for malloc debug. 2019-04-02 10:55:21 -07:00
malloc_hooks Refactor the malloc_info code. 2019-03-07 08:39:55 -08:00
private Merge "Workaround potential access to unmapped stack" 2019-04-04 19:47:52 +00:00
seccomp Add support for seccomp filter that limits setresuid/setresgid. 2019-01-19 09:09:30 +01:00
stdio Merge "Typo fix in comment. O_CLOEXEC is e, not x." 2019-03-26 22:00:31 +00:00
stdlib Add PR_SET_VMA and PR_SET_VMA_ANON_NAME to <sys/prctl.h>. 2018-08-22 10:36:23 -07:00
system_properties libasync_safe: stop clobbering other folks' identifiers. 2019-02-14 14:23:13 -08:00
tools Update to v5.0 kernel headers. 2019-03-07 11:19:22 -08:00
tzcode strptime: support everything that strftime supports. 2019-03-26 19:07:40 -07:00
upstream-freebsd Add reallocarray(3). 2018-09-26 14:24:18 -07:00
upstream-netbsd Sync with upstream NetBSD. 2019-02-13 14:17:18 -08:00
upstream-openbsd Switch to OpenBSD div/ldiv/lldiv. 2019-02-05 16:48:22 -08:00
versioner-dependencies Unified sysroot: kill arch-specific include dirs. 2017-10-12 13:19:51 -07:00
Android.bp Load libc_malloc_* libraries from the runtime APEX 2019-04-11 21:36:16 +09:00
fs_config_generator.py Revert "Revert "move android_ids into bionic"" 2016-12-13 23:47:25 +00:00
libc.map.txt Add a platform API for setting an allocation limit. 2019-03-15 10:54:55 -07:00
libstdc++.map.txt Mark new/delete as weak in the NDK stubs. 2017-07-28 11:01:33 -07:00
MODULE_LICENSE_BSD
NOTICE Reorganize static TLS memory for ELF TLS 2019-01-11 15:34:22 -08:00
SECCOMP_BLACKLIST_APP.TXT Blacklist setregid(32) for apps. 2019-01-22 17:22:54 +01:00
SECCOMP_BLACKLIST_COMMON.TXT Split zygote's seccomp filter into two 2018-01-04 12:28:40 -08:00
SECCOMP_WHITELIST_APP.TXT Move pipe, open, and getdents from the APP to COMMON seccomp whitelist. 2018-09-11 19:20:34 -04:00
SECCOMP_WHITELIST_COMMON.TXT Move pipe, open, and getdents from the APP to COMMON seccomp whitelist. 2018-09-11 19:20:34 -04:00
SECCOMP_WHITELIST_GLOBAL.TXT Create global seccomp policy. 2017-07-21 20:30:21 -07:00
SECCOMP_WHITELIST_SYSTEM.TXT Add bpf syscall to seccomp whitelist 2018-01-18 12:08:34 -08:00
symbol_ordering libc: Update symbol_ordering file 2019-04-01 12:08:50 -07:00
SYSCALLS.TXT Add lp32 and lp64 shorthands to SYSCALLS.TXT. 2018-11-09 13:57:34 -08:00
version_script.txt