Searched refs:allowed_libs (Results 1 – 8 of 8) sorted by relevance
/third_party/musl/libc-test/src/functionalext/unittest/ |
D | unit_test_ldso_namespace.c | 52 ns.allowed_libs = NULL; in namespace_test_0020() 80 ns.allowed_libs = NULL; in namespace_test_0030() 444 ns.allowed_libs = NULL; in namespace_test_0310() 446 EXPECT_EQ(__FUNCTION__, (ns.allowed_libs != NULL), true); in namespace_test_0310() 458 ns.allowed_libs = &list; in namespace_test_0320() 460 EXPECT_EQ(__FUNCTION__, (ns.allowed_libs != NULL), true); in namespace_test_0320() 471 ns.allowed_libs = NULL; in namespace_test_0330() 473 EXPECT_EQ(__FUNCTION__, ns.allowed_libs, NULL); in namespace_test_0330() 485 ns.allowed_libs = &list; in namespace_test_0400() 487 EXPECT_EQ(__FUNCTION__, ns.allowed_libs, NULL); in namespace_test_0400() [all …]
|
/third_party/musl/porting/linux/user/ldso/ |
D | namespace.c | 166 strlist_free(ns->allowed_libs); in ns_free() 337 void ns_set_allowed_libs(ns_t *ns, const char *allowed_libs) in ns_set_allowed_libs() argument 343 if (ns->allowed_libs) strlist_free(ns->allowed_libs); in ns_set_allowed_libs() 344 ns->allowed_libs = NULL; in ns_set_allowed_libs() 345 if (allowed_libs) { in ns_set_allowed_libs() 347 char *a_libs = ld_strdup(allowed_libs); in ns_set_allowed_libs() 348 if (strtrim(a_libs) > 0) ns->allowed_libs = strsplit(a_libs, ":"); in ns_set_allowed_libs() 351 … LD_LOGD("ns_set_allowed_libs ns[%{public}s] allowed_libs:%{public}s.", ns->ns_name, allowed_libs); in ns_set_allowed_libs() 474 if (ns->allowed_libs) { in is_accessible() 479 for (; i < ns->allowed_libs->num; i++) { in is_accessible() [all …]
|
D | namespace.h | 47 strlist *allowed_libs; /* when separated, allowed library names splited by ':'. */ member 83 void ns_set_allowed_libs(ns_t *ns, const char *allowed_libs);
|
D | dynlink.c | 234 char *lib_paths, *asan_lib_paths, *permitted_paths, *asan_permitted_paths, *allowed_libs; in set_ns_attrs() local 250 allowed_libs = conf->get_allowed_libs(ns->ns_name); in set_ns_attrs() 251 if (allowed_libs) ns_set_allowed_libs(ns, allowed_libs); in set_ns_attrs() 262 asan_permitted_paths, allowed_libs); in set_ns_attrs() 4258 int dlns_set_namespace_allowed_libs(const char * name, const char * allowed_libs) in dlns_set_namespace_allowed_libs() argument 4260 if (!name || !allowed_libs) { in dlns_set_namespace_allowed_libs() 4279 ns_set_allowed_libs(ns, allowed_libs); in dlns_set_namespace_allowed_libs()
|
/third_party/musl/porting/linux/user/config/ |
D | ld-musl-namespace-aarch64-test.ini | 27 #ns_wrong_lib_path ,path in allowed_libs,but not in env or lib or permitted Path 33 #ns_wrong_allowed_path ,path not in allowed_libs
|
D | ld-musl-namespace-arm-test.ini | 27 #ns_wrong_lib_path ,path in allowed_libs,but not in env or lib or permitted Path 33 #ns_wrong_allowed_path ,path not in allowed_libs
|
D | ld-musl-namespace-x86_64-test.ini | 27 #ns_wrong_lib_path ,path in allowed_libs,but not in env or lib or permitted Path 33 #ns_wrong_allowed_path ,path not in allowed_libs
|
/third_party/musl/porting/linux/user/include/ |
D | dlfcn.h | 164 int dlns_set_namespace_allowed_libs(const char *name, const char *allowed_libs);
|