Home
last modified time | relevance | path

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

/third_party/musl/porting/linux/user/ldso/
Dnamespace.h49 } ns_t; typedef
54 ns_t **nss;
58 ns_t *inherited_ns; /* inherited namespace */
72 ns_t *ns_alloc();
73 void ns_free(ns_t *ns);
74 void ns_set_name(ns_t *ns, const char *name);
75 void ns_set_env_paths(ns_t *ns, const char *env_paths);
76 void ns_set_lib_paths(ns_t *ns, const char *lib_paths);
77 void ns_set_asan_lib_paths(ns_t *ns, const char *asan_lib_paths);
78 void ns_set_permitted_paths(ns_t *ns, const char *permitted_paths);
[all …]
Dnamespace.c22 static ns_t g_ns_default;
120 ns_t *ns_alloc() in ns_alloc()
122 ns_t *nst = (ns_t *)internal_calloc(1, sizeof *nst); in ns_alloc()
132 void ns_free(ns_t *ns) in ns_free()
164 void ns_add_dso(ns_t *ns, struct dso *dso) in ns_add_dso()
191 g_ns_list.nss = (ns_t **)internal_calloc(NSLIST_DEFAULT_SIZE, sizeof *g_ns_list.nss); in nslist_init()
203 ns_t **nss; in nslist_realloc()
204 nss = (ns_t **)internal_realloc(g_ns_list.nss, size * (sizeof *g_ns_list.nss)); in nslist_realloc()
215 void nslist_add_ns(ns_t *ns) in nslist_add_ns()
233 ns_t *get_default_ns() in get_default_ns()
[all …]
Ddynlink_rand.h40 ns_t *namespace;
87 hidden struct loadtask *create_loadtask(const char *name, struct dso *needed_by, ns_t *ns, bool che…
Ddynlink.c120 ns_t *namespace;
254 static void preload_direct_deps(struct dso *p, ns_t *namespace, struct loadtasks *tasks);
259 static void load_preload(char *s, ns_t *ns, struct loadtasks *tasks);
261 static void handle_asan_path_open_by_task(int fd, const char *name, ns_t *namespace, struct loadtas…
268 int handle_asan_path_open(int fd, const char *name, ns_t *namespace, char *buf, size_t buf_size);
289 ns_t *default_ns = get_default_ns(); in init_default_namespace()
306 static void set_ns_attrs(ns_t *ns, ns_configor *conf) in set_ns_attrs()
343 static void set_ns_inherits(ns_t *ns, ns_configor *conf) in set_ns_inherits()
352 ns_t *inherited_ns = find_ns_by_name(inherits->strs[i]); in set_ns_inherits()
405 ns_t *d_ns = get_default_ns(); in init_namespace()
[all …]
Ddynlink_rand.c229 struct loadtask *create_loadtask(const char *name, struct dso *needed_by, ns_t *ns, bool check_inhe… in create_loadtask()