diff --git a/linker/dlfcn.cpp b/linker/dlfcn.cpp index 228e30a1a..255363f96 100644 --- a/linker/dlfcn.cpp +++ b/linker/dlfcn.cpp @@ -279,6 +279,7 @@ bool __loader_android_link_namespaces_all_libs(android_namespace_t* namespace_fr } android_namespace_t* __loader_android_get_exported_namespace(const char* name) { + ScopedPthreadMutexLocker locker(&g_dl_mutex); return get_exported_namespace(name); }