Home
last modified time | relevance | path

Searched refs:lib_paths (Results 1 – 5 of 5) sorted by relevance

/third_party/musl/porting/linux/user/ldso/
Dnamespace.c156 if (ns->lib_paths) { in ns_free()
157 __libc_free(ns->lib_paths); in ns_free()
158 ns->lib_paths = NULL; in ns_free()
272 void ns_set_lib_paths(ns_t *ns, const char *lib_paths) in ns_set_lib_paths() argument
277 if (ns->lib_paths) __libc_free(ns->lib_paths); in ns_set_lib_paths()
278 if (lib_paths) { in ns_set_lib_paths()
279 ns->lib_paths = ld_strdup(lib_paths); in ns_set_lib_paths()
280 strtrim(ns->lib_paths); in ns_set_lib_paths()
282 ns->lib_paths = NULL; in ns_set_lib_paths()
284 LD_LOGD("ns_set_lib_paths ns[%{public}s] lib_paths:%{public}s.", ns->ns_name, ns->lib_paths); in ns_set_lib_paths()
[all …]
Dnamespace.h40 char *lib_paths; /* library search paths splited by ':'. */ member
78 void ns_set_lib_paths(ns_t *ns, const char *lib_paths);
Ddynlink.c234 char *lib_paths, *asan_lib_paths, *permitted_paths, *asan_permitted_paths, *allowed_libs; in set_ns_attrs() local
238 lib_paths = conf->get_lib_paths(ns->ns_name); in set_ns_attrs()
239 if (lib_paths) ns_set_lib_paths(ns, lib_paths); in set_ns_attrs()
261 ns->ns_name, ns->separated, ns->lib_paths, ns->asan_lib_paths, permitted_paths, in set_ns_attrs()
283 inherited_ns->ns_name, inherited_ns->separated, inherited_ns->lib_paths, in set_ns_inherits()
1845 if (((ns->flag & LOCAL_NS_PREFERED) != 0) && ns->lib_paths) { in app_has_same_name_so()
1847 fd = path_open(so_name, ns->lib_paths, tmp_buf, sizeof tmp_buf); in app_has_same_name_so()
1988 if (fd == -1 && namespace->lib_paths) { in load_library()
1989 fd = path_open(name, namespace->lib_paths, buf, sizeof buf); in load_library()
3629 ns->ns_name, ns->separated, ns->lib_paths); in dlns_create2()
[all …]
/third_party/musl/libc-test/src/functionalext/unittest/
Dunit_test_ldso_namespace.c48 ns.lib_paths = (char*)&tmp; in namespace_test_0020()
76 ns.lib_paths = NULL; in namespace_test_0030()
568 ns.lib_paths = NULL; in namespace_test_0390()
639 ns.lib_paths = NULL; in namespace_test_0460()
658 ns.lib_paths = NULL; in namespace_test_0470()
677 ns.lib_paths = NULL; in namespace_test_0480()
698 ns.lib_paths = NULL; in namespace_test_0490()
718 ns.lib_paths = NULL; in namespace_test_0500()
738 ns.lib_paths = NULL; in namespace_test_0510()
759 ns.lib_paths = NULL; in namespace_test_0520()
[all …]
Dunit_test_ldso_dynlink.c188 ns.lib_paths = NULL; in dynlink_test_0003()
204 ns.lib_paths = "/lib:/system/lib"; in dynlink_test_0004()
220 ns.lib_paths = "/system/lib:/lib"; in dynlink_test_0005()