android_bionic/linker
Ryan Prichard c2a93792fc android_get_exported_namespace: acquire g_dl_mutex
android_get_exported_namespace searches g_exported_namespaces, which
isn't modified after process initialization, but it does the search
using a new std::string object, and the linker's malloc/free functions
aren't thread-safe. (They're protected by the same lock (g_dl_mutex) as
the rest of the linker's state.)

Bug: http://b/150372650
Test: bionic-unit-tests
Change-Id: Iafd12e5ab36ae61f0642aad59939f528d31bda16
2020-04-20 17:59:43 -07:00
..
arch Remove unused mips/mips64 code from the linker. 2020-02-13 15:58:48 -08:00
Android.bp Revert "Statically link libdl.a to linker" 2020-03-18 08:45:25 +00:00
MODULE_LICENSE_APACHE2
NOTICE Make the linker NOTICE file match the linker source. 2019-12-20 12:29:39 -08:00
dlfcn.cpp android_get_exported_namespace: acquire g_dl_mutex 2020-04-20 17:59:43 -07:00
ld.config.format.md Fix some typos in the linker configuration file format documentation. 2019-08-07 18:45:45 +01:00
ld_android.cpp Delete definitions of __aeabi_unwind_cpp_pr0. 2020-01-10 10:40:43 -08:00
ldd ldd: slightly improve error message. 2019-06-27 13:50:31 -07:00
linked_list.h Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linked_list_test.cpp
linker.arm.map
linker.cpp Fix bootstrap linker library searching 2020-03-27 18:46:28 -07:00
linker.generic.map
linker.h Fix DL_WARN_documented_change URL 2020-03-27 18:46:28 -07:00
linker_block_allocator.cpp
linker_block_allocator.h
linker_block_allocator_test.cpp
linker_cfi.cpp Validate defined versions in prelink_image 2020-01-06 16:06:37 -08:00
linker_cfi.h
linker_common_types.h Remove unused mips/mips64 code from the linker. 2020-02-13 15:58:48 -08:00
linker_config.cpp Replace LIB_PATH macro with kLibPath 2019-12-04 13:31:56 -08:00
linker_config.h Replace LIB_PATH macro with kLibPath 2019-12-04 13:31:56 -08:00
linker_config_test.cpp
linker_debug.cpp Create linker_log[_va_list] functions 2020-01-06 16:06:37 -08:00
linker_debug.h Fix bugprone-macro-parentheses warnings 2020-03-04 13:22:05 -08:00
linker_debuggerd.h Refactor linker/Android.bp for native-bridge 2019-11-05 13:37:29 -08:00
linker_debuggerd_android.cpp Switch to debugger_process_info in bionic. 2020-03-17 14:35:09 -07:00
linker_debuggerd_stub.cpp Refactor linker/Android.bp for native-bridge 2019-11-05 13:37:29 -08:00
linker_dlwarning.cpp
linker_dlwarning.h
linker_gdb_support.cpp
linker_gdb_support.h
linker_globals.cpp Fix DL_WARN_documented_change URL 2020-03-27 18:46:28 -07:00
linker_globals.h Add more linker debug log. 2019-09-05 12:00:25 +00:00
linker_gnu_hash.h Neon-optimized version of the GNU symbol calculation 2020-01-13 13:29:25 -08:00
linker_gnu_hash_benchmark.cpp Neon-optimized version of the GNU symbol calculation 2020-01-13 13:29:25 -08:00
linker_gnu_hash_test.cpp Neon-optimized version of the GNU symbol calculation 2020-01-13 13:29:25 -08:00
linker_libc_support.c
linker_libcxx_support.cpp
linker_logger.cpp
linker_logger.h
linker_main.cpp remove search_linked_namespaces param 2020-03-27 18:46:28 -07:00
linker_main.h remove search_linked_namespaces param 2020-03-27 18:46:28 -07:00
linker_mapped_file_fragment.cpp
linker_mapped_file_fragment.h
linker_memory.cpp
linker_namespaces.cpp Ignore symbols of imported libs' dependencies 2020-02-03 14:20:40 -08:00
linker_namespaces.h Fix bootstrap linker library searching 2020-03-27 18:46:28 -07:00
linker_phdr.cpp Remove unused mips/mips64 code from the linker. 2020-02-13 15:58:48 -08:00
linker_phdr.h
linker_reloc_iterators.h Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linker_relocate.cpp Remove unused mips/mips64 code from the linker. 2020-02-13 15:58:48 -08:00
linker_relocate.h Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linker_relocs.h Factor out R_GENERIC_COPY 2019-10-18 12:44:01 -07:00
linker_sdk_versions.cpp Reland "fdsan: make fatal by default." 2019-08-20 17:59:14 -07:00
linker_sleb128.h
linker_sleb128_test.cpp
linker_soinfo.cpp Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linker_soinfo.h Remove unused mips/mips64 code from the linker. 2020-02-13 15:58:48 -08:00
linker_test_globals.cpp
linker_tls.cpp
linker_tls.h
linker_utils.cpp Don't resolve already resolved paths when parsing ld.config.txt 2019-05-17 10:09:13 +09:00
linker_utils.h Don't resolve already resolved paths when parsing ld.config.txt 2019-05-17 10:09:13 +09:00
linker_utils_test.cpp
linker_wrapper.cpp
rt.cpp