Home
last modified time | relevance | path

Searched refs:permitted_paths (Results 1 - 9 of 9) sorted by relevance

/third_party/musl/libc-test/src/functionalext/unittest/
H A Dunit_test_ldso_namespace.c50 ns.permitted_paths = NULL; in namespace_test_0020()
78 ns.permitted_paths = NULL; in namespace_test_0030()
340 * @tc.desc : ns_set_permitted_paths test arg permitted_paths is NULL and ns.permitted_paths is not NULL
347 ns.permitted_paths = &list; in namespace_test_0230()
349 EXPECT_EQ(__FUNCTION__, ns.permitted_paths, NULL); in namespace_test_0230()
365 * @tc.desc : ns_set_permitted_paths test arg permitted_paths is NULL and ns.permitted_paths is NULL
371 ns.permitted_paths = NULL; in namespace_test_0250()
373 EXPECT_EQ(__FUNCTION__, ns.permitted_paths, NUL in namespace_test_0250()
[all...]
/third_party/musl/porting/linux/user/ldso/
H A Dnamespace.c164 strlist_free(ns->permitted_paths); in ns_free()
304 void ns_set_permitted_paths(ns_t *ns, const char *permitted_paths) in ns_set_permitted_paths() argument
309 if (ns->permitted_paths) strlist_free(ns->permitted_paths); in ns_set_permitted_paths()
310 ns->permitted_paths = strsplit(permitted_paths, ":"); in ns_set_permitted_paths()
311 LD_LOGD("ns_set_permitted_paths ns[%{public}s] permitted_paths:%{public}s.", ns->ns_name, permitted_paths); in ns_set_permitted_paths()
534 if (ns->permitted_paths) { in is_accessible()
535 for (size_t i = 0; i < ns->permitted_paths in is_accessible()
[all...]
H A Dnamespace.h43 strlist *permitted_paths; /* when separated, permitted search paths splited by ':', including sub dirs. */ member
80 void ns_set_permitted_paths(ns_t *ns, const char *permitted_paths);
H A Ddynlink.c260 char *lib_paths, *asan_lib_paths, *permitted_paths, *asan_permitted_paths, *allowed_libs; in set_ns_attrs() local
270 permitted_paths = conf->get_permitted_paths(ns->ns_name); in set_ns_attrs()
271 if (permitted_paths) ns_set_permitted_paths(ns, permitted_paths); in set_ns_attrs()
284 "permitted_paths:%{public}s ," in set_ns_attrs()
287 ns->ns_name, ns->separated, ns->lib_paths, ns->asan_lib_paths, permitted_paths, in set_ns_attrs()
4415 int dlns_set_namespace_permitted_paths(const char * name, const char * permitted_paths) in dlns_set_namespace_permitted_paths() argument
4417 if (!name || !permitted_paths) { in dlns_set_namespace_permitted_paths()
4418 LD_LOGE("dlns_set_namespace_permitted_paths name or permitted_paths is null."); in dlns_set_namespace_permitted_paths()
4436 ns_set_permitted_paths(ns, permitted_paths); in dlns_set_namespace_permitted_paths()
[all...]
/third_party/musl/ldso/linux/
H A Dnamespace.c164 strlist_free(ns->permitted_paths); in ns_free()
304 void ns_set_permitted_paths(ns_t *ns, const char *permitted_paths) in ns_set_permitted_paths() argument
309 if (ns->permitted_paths) strlist_free(ns->permitted_paths); in ns_set_permitted_paths()
310 ns->permitted_paths = strsplit(permitted_paths, ":"); in ns_set_permitted_paths()
311 LD_LOGD("ns_set_permitted_paths ns[%{public}s] permitted_paths:%{public}s.", ns->ns_name, permitted_paths); in ns_set_permitted_paths()
534 if (ns->permitted_paths) { in is_accessible()
535 for (size_t i = 0; i < ns->permitted_paths in is_accessible()
[all...]
H A Dnamespace.h43 strlist *permitted_paths; /* when separated, permitted search paths splited by ':', including sub dirs. */ member
80 void ns_set_permitted_paths(ns_t *ns, const char *permitted_paths);
H A Ddynlink.c294 char *lib_paths, *asan_lib_paths, *permitted_paths, *asan_permitted_paths, *allowed_libs; in set_ns_attrs() local
304 permitted_paths = conf->get_permitted_paths(ns->ns_name); in set_ns_attrs()
305 if (permitted_paths) ns_set_permitted_paths(ns, permitted_paths); in set_ns_attrs()
318 "permitted_paths:%{public}s ," in set_ns_attrs()
321 ns->ns_name, ns->separated, ns->lib_paths, ns->asan_lib_paths, permitted_paths, in set_ns_attrs()
4765 int dlns_set_namespace_permitted_paths(const char * name, const char * permitted_paths) in dlns_set_namespace_permitted_paths() argument
4767 if (!name || !permitted_paths) { in dlns_set_namespace_permitted_paths()
4768 LD_LOGE("dlns_set_namespace_permitted_paths name or permitted_paths is null."); in dlns_set_namespace_permitted_paths()
4786 ns_set_permitted_paths(ns, permitted_paths); in dlns_set_namespace_permitted_paths()
[all...]
/third_party/musl/porting/linux/user/include/
H A Ddlfcn.h145 * @brief Set namespace permitted_paths.
147 * @param permitted_paths set new permitted_paths.
153 int dlns_set_namespace_permitted_paths(const char *name, const char *permitted_paths);
/third_party/musl/include/
H A Ddlfcn.h145 * @brief Set namespace permitted_paths.
147 * @param permitted_paths set new permitted_paths.
153 int dlns_set_namespace_permitted_paths(const char *name, const char *permitted_paths);

Completed in 17 milliseconds