/bionic/tests/ |
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);
|
dlext_test.cpp | 744 android_namespace_t* ns1 = 754 android_namespace_t* ns2 = [all...] |
/bionic/linker/ |
linker_common_types.h | 59 static LinkedListEntry<android_namespace_t>* alloc(); 60 static void free(LinkedListEntry<android_namespace_t>* entry); 68 typedef LinkedList<android_namespace_t, NamespaceListAllocator> android_namespace_list_t;
|
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, 67 std::vector<android_namespace_t*>* namespaces = nullptr);
|
linker_namespaces.cpp | 36 bool android_namespace_t::is_accessible(const std::string& file) { 70 bool android_namespace_t::is_accessible(soinfo* s) { 108 soinfo_list_t android_namespace_t::get_global_group() { 124 soinfo_list_t android_namespace_t::get_shared_group() {
|
linker.h | 170 android_namespace_t* create_namespace(const void* caller_addr, 176 android_namespace_t* parent_namespace); 178 bool link_namespaces(android_namespace_t* namespace_from, 179 android_namespace_t* namespace_to, 182 bool link_namespaces_all_libs(android_namespace_t* namespace_from, 183 android_namespace_t* namespace_to); 185 android_namespace_t* get_exported_namespace(const char* name);
|
linker_globals.h | 69 struct android_namespace_t; 71 extern android_namespace_t g_default_namespace;
|
linker_namespaces.h | 37 struct android_namespace_t; 41 android_namespace_link_t(android_namespace_t* linked_namespace, 48 android_namespace_t* linked_namespace() const { 68 android_namespace_t* const linked_namespace_; 73 struct android_namespace_t { struct 75 android_namespace_t() : name_(nullptr), is_isolated_(false), is_greylist_enabled_(false) {} function in struct:android_namespace_t 126 void add_linked_namespace(android_namespace_t* linked_namespace, 178 DISALLOW_COPY_AND_ASSIGN(android_namespace_t);
|
dlfcn.cpp | 49 android_namespace_t* __loader_android_create_namespace(const char* name, 54 android_namespace_t* parent_namespace, 63 android_namespace_t* __loader_android_get_exported_namespace(const char* name) __LINKER_PUBLIC__; 66 bool __loader_android_link_namespaces(android_namespace_t* namespace_from, 67 android_namespace_t* namespace_to, 69 bool __loader_android_link_namespaces_all_libs(android_namespace_t* namespace_from, 70 android_namespace_t* namespace_to) __LINKER_PUBLIC__; 234 android_namespace_t* __loader_android_create_namespace(const char* name, 239 android_namespace_t* parent_namespace, 243 android_namespace_t* result = create_namespace(caller_addr [all...] |
linker_globals.cpp | 39 android_namespace_t g_default_namespace;
|
linker_soinfo.h | 217 soinfo(android_namespace_t* ns, const char* name, const struct stat* file_stat, 292 android_namespace_t* get_primary_namespace(); 293 void add_secondary_namespace(android_namespace_t* secondary_ns); 371 android_namespace_t* primary_namespace_;
|
linker.cpp | 79 static android_namespace_t* g_anonymous_namespace = &g_default_namespace; 80 static std::unordered_map<std::string, android_namespace_t*> g_exported_namespaces; 85 static LinkerTypeAllocator<android_namespace_t> g_namespace_allocator; 86 static LinkerTypeAllocator<LinkedListEntry<android_namespace_t>> g_namespace_list_allocator; 173 static bool maybe_accessible_via_namespace_links(android_namespace_t* ns, const char* name) { 186 static bool is_greylisted(android_namespace_t* ns, const char* name, const soinfo* needed_by) { 325 LinkedListEntry<android_namespace_t>* NamespaceListAllocator::alloc() { 329 void NamespaceListAllocator::free(LinkedListEntry<android_namespace_t>* entry) { 333 soinfo* soinfo_alloc(android_namespace_t* ns, const char* name, 617 android_namespace_t* start_from [all...] |
linker_soinfo.cpp | 49 soinfo::soinfo(android_namespace_t* ns, const char* realpath, 482 secondary_namespaces_.for_each([&](android_namespace_t* ns) { 624 android_namespace_t* soinfo::get_primary_namespace() { 632 void soinfo::add_secondary_namespace(android_namespace_t* secondary_ns) {
|
linker_main.cpp | 407 std::vector<android_namespace_t*> namespaces = init_default_namespaces(exe_path.c_str());
|
/bionic/libdl/ |
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, 90 struct android_namespace_t* parent) { 102 bool android_link_namespaces(struct android_namespace_t* namespace_from, 103 struct android_namespace_t* namespace_to, 114 struct android_namespace_t* android_get_exported_namespace(const char* name) [all...] |
/bionic/libc/include/android/ |
dlext.h | 152 struct android_namespace_t; 173 struct android_namespace_t* library_namespace;
|
/bionic/libc/bionic/ |
malloc_common_dynamic.cpp | 290 extern "C" struct android_namespace_t* android_get_exported_namespace(const char* name); 306 struct android_namespace_t* runtime_ns = android_get_exported_namespace("runtime");
|
/frameworks/av/media/libstagefright/ |
MediaExtractorFactory.cpp | 282 android_namespace_t *mediaNs = android_get_exported_namespace("media");
|