/bionic/libdl/ |
D | libdl_android.cpp | 41 struct android_namespace_t* __loader_android_create_namespace( 47 struct android_namespace_t* parent, 52 struct android_namespace_t* namespace_from, 53 struct android_namespace_t* namespace_to, 60 struct android_namespace_t* __loader_android_get_exported_namespace(const char* name); 85 struct android_namespace_t* android_create_namespace(const char* name, in android_create_namespace() 90 struct android_namespace_t* parent) { in android_create_namespace() 102 bool android_link_namespaces(struct android_namespace_t* namespace_from, in android_link_namespaces() 103 struct android_namespace_t* namespace_to, in android_link_namespaces() 114 struct android_namespace_t* android_get_exported_namespace(const char* name) { in android_get_exported_namespace()
|
/bionic/tests/ |
D | dlext_private.h | 87 extern struct android_namespace_t* android_create_namespace(const char* name, 92 android_namespace_t* parent); 94 extern bool android_link_namespaces(android_namespace_t* from, 95 android_namespace_t* to, 98 extern bool android_link_namespaces_all_libs(android_namespace_t* from, 99 android_namespace_t* to);
|
D | dlext_test.cpp | 763 android_namespace_t* ns1 = in TEST() 773 android_namespace_t* ns2 = in TEST() 932 android_namespace_t* ns = in TEST() 979 android_namespace_t* ns = in TEST() 1018 android_namespace_t* ns = in TEST() 1056 android_namespace_t* ns_public = in TEST() 1066 android_namespace_t* ns_private = in TEST() 1107 android_namespace_t* ns_public = in TEST() 1117 android_namespace_t* ns_private = in TEST() 1156 android_namespace_t* ns_public = in TEST() [all …]
|
/bionic/linker/ |
D | dlfcn.cpp | 50 android_namespace_t* __loader_android_create_namespace(const char* name, 55 android_namespace_t* parent_namespace, 64 android_namespace_t* __loader_android_get_exported_namespace(const char* name) __LINKER_PUBLIC__; 67 bool __loader_android_link_namespaces(android_namespace_t* namespace_from, 68 android_namespace_t* namespace_to, 70 bool __loader_android_link_namespaces_all_libs(android_namespace_t* namespace_from, 71 android_namespace_t* namespace_to) __LINKER_PUBLIC__; 230 android_namespace_t* __loader_android_create_namespace(const char* name, in __loader_android_create_namespace() 235 android_namespace_t* parent_namespace, in __loader_android_create_namespace() 239 android_namespace_t* result = create_namespace(caller_addr, in __loader_android_create_namespace() [all …]
|
D | linker.h | 153 android_namespace_t* create_namespace(const void* caller_addr, 159 android_namespace_t* parent_namespace); 161 bool link_namespaces(android_namespace_t* namespace_from, 162 android_namespace_t* namespace_to, 165 bool link_namespaces_all_libs(android_namespace_t* namespace_from, 166 android_namespace_t* namespace_to); 168 android_namespace_t* get_exported_namespace(const char* name);
|
D | linker_namespaces.h | 39 struct android_namespace_t; 43 android_namespace_link_t(android_namespace_t* linked_namespace, in android_namespace_link_t() 50 android_namespace_t* linked_namespace() const { in linked_namespace() 70 android_namespace_t* const linked_namespace_; 75 struct android_namespace_t { struct 77 android_namespace_t() : in android_namespace_t() function 134 void add_linked_namespace(android_namespace_t* linked_namespace, in add_linked_namespace() argument 187 DISALLOW_COPY_AND_ASSIGN(android_namespace_t); argument
|
D | linker_main.h | 51 std::vector<android_namespace_t*> init_default_namespaces(const char* executable_path); 52 soinfo* soinfo_alloc(android_namespace_t* ns, const char* name, 56 bool find_libraries(android_namespace_t* ns, 66 std::vector<android_namespace_t*>* namespaces = nullptr);
|
D | linker_namespaces.cpp | 37 bool android_namespace_t::is_accessible(const std::string& file) { in is_accessible() 73 bool android_namespace_t::is_accessible(soinfo* s) { in is_accessible() 128 soinfo_list_t android_namespace_t::get_global_group() { in get_global_group() 144 soinfo_list_t android_namespace_t::get_shared_group() { in get_shared_group()
|
D | linker_common_types.h | 56 static LinkedListEntry<android_namespace_t>* alloc(); 57 static void free(LinkedListEntry<android_namespace_t>* entry); 65 typedef LinkedList<android_namespace_t, NamespaceListAllocator> android_namespace_list_t;
|
D | linker.cpp | 81 static android_namespace_t* g_anonymous_namespace = &g_default_namespace; 82 static std::unordered_map<std::string, android_namespace_t*> g_exported_namespaces; 87 static LinkerTypeAllocator<android_namespace_t> g_namespace_allocator; 88 static LinkerTypeAllocator<LinkedListEntry<android_namespace_t>> g_namespace_list_allocator; 178 static bool maybe_accessible_via_namespace_links(android_namespace_t* ns, const char* name) { in maybe_accessible_via_namespace_links() 191 static bool is_greylisted(android_namespace_t* ns, const char* name, const soinfo* needed_by) { in is_greylisted() 270 LinkedListEntry<android_namespace_t>* NamespaceListAllocator::alloc() { in alloc() 274 void NamespaceListAllocator::free(LinkedListEntry<android_namespace_t>* entry) { in free() 278 soinfo* soinfo_alloc(android_namespace_t* ns, const char* name, in soinfo_alloc() 507 android_namespace_t* _Nonnull start_from, in create() [all …]
|
D | linker_globals.h | 81 struct android_namespace_t; 83 extern android_namespace_t g_default_namespace;
|
D | linker_soinfo.h | 246 soinfo(android_namespace_t* ns, const char* name, const struct stat* file_stat, 331 android_namespace_t* get_primary_namespace(); 332 void add_secondary_namespace(android_namespace_t* secondary_ns); 419 android_namespace_t* primary_namespace_;
|
D | linker_globals.cpp | 39 android_namespace_t g_default_namespace;
|
D | linker_soinfo.cpp | 214 soinfo::soinfo(android_namespace_t* ns, const char* realpath, in soinfo() 602 secondary_namespaces_.for_each([&](android_namespace_t* ns) { in remove_all_links() 754 android_namespace_t* soinfo::get_primary_namespace() { in get_primary_namespace() 762 void soinfo::add_secondary_namespace(android_namespace_t* secondary_ns) { in add_secondary_namespace()
|
D | linker_main.cpp | 420 std::vector<android_namespace_t*> namespaces = init_default_namespaces(exe_info.path.c_str()); in linker_main()
|
/bionic/libc/include/android/ |
D | dlext.h | 152 struct android_namespace_t; 173 struct android_namespace_t* library_namespace;
|
/bionic/tests/libs/ |
D | ns_hidden_child_helper.cpp | 53 android_namespace_t* app_ns = in main()
|
/bionic/libc/bionic/ |
D | malloc_common_dynamic.cpp | 280 extern "C" struct android_namespace_t* android_get_exported_namespace(const char* name); 294 struct android_namespace_t* runtime_ns = android_get_exported_namespace("com_android_runtime"); in LoadSharedLibrary()
|