Home
last modified time | relevance | path

Searched refs:env_paths (Results 1 – 4 of 4) sorted by relevance

/third_party/musl/libc-test/src/functionalext/unittest/
Dunit_test_ldso_namespace.c47 ns.env_paths = (char*)&tmp; in namespace_test_0020()
75 ns.env_paths = NULL; in namespace_test_0030()
231 ns.env_paths = NULL; in namespace_test_0140()
233 EXPECT_EQ(__FUNCTION__, strcmp(ns.env_paths, "abc"), 0); in namespace_test_0140()
244 ns.env_paths = "abc"; in namespace_test_0150()
246 EXPECT_EQ(__FUNCTION__, strcmp(ns.env_paths, "abc"), 0); in namespace_test_0150()
257 ns.env_paths = NULL; in namespace_test_0160()
259 EXPECT_EQ(__FUNCTION__, ns.env_paths, NULL); in namespace_test_0160()
270 ns.env_paths = "abc"; in namespace_test_0170()
272 EXPECT_EQ(__FUNCTION__, ns.env_paths, NULL); in namespace_test_0170()
[all …]
/third_party/musl/porting/linux/user/ldso/
Dnamespace.c152 if (ns->env_paths) { in ns_free()
153 __libc_free(ns->env_paths); in ns_free()
154 ns->env_paths = NULL; in ns_free()
257 void ns_set_env_paths(ns_t *ns, const char *env_paths) in ns_set_env_paths() argument
262 if (ns->env_paths) __libc_free(ns->env_paths); in ns_set_env_paths()
263 if (env_paths) { in ns_set_env_paths()
264 ns->env_paths = ld_strdup(env_paths); in ns_set_env_paths()
265 strtrim(ns->env_paths); in ns_set_env_paths()
267 ns->env_paths = NULL; in ns_set_env_paths()
269 LD_LOGD("ns_set_env_paths ns[%{public}s] env_paths:%{public}s.", ns->ns_name, ns->env_paths); in ns_set_env_paths()
[all …]
Dnamespace.h39 char *env_paths; /* value of LD_LIBRARY_PATH. splited by ':'. */ member
77 void ns_set_env_paths(ns_t *ns, const char *env_paths);
Ddynlink.c1972 if (namespace->env_paths) fd = path_open(name, namespace->env_paths, buf, sizeof buf); in load_library()
5004 if (namespace->env_paths) { in load_library_header()
5005 open_library_by_path(name, namespace->env_paths, task, &z_info); in load_library_header()