Lines Matching refs:ns_t
21 static ns_t g_ns_default;
127 ns_t *ns_alloc()
129 ns_t *nst = (ns_t *)__libc_calloc(1, sizeof *nst);
139 void ns_free(ns_t *ns)
171 void ns_add_dso(ns_t *ns, struct dso *dso)
198 g_ns_list.nss = (ns_t **)__libc_calloc(NSLIST_DEFAULT_SIZE, sizeof *g_ns_list.nss);
210 ns_t **nss;
211 nss = (ns_t **)__libc_realloc(g_ns_list.nss, size * (sizeof *g_ns_list.nss));
222 void nslist_add_ns(ns_t *ns)
240 ns_t *get_default_ns()
246 void ns_set_name(ns_t *ns, const char *name)
257 void ns_set_env_paths(ns_t *ns, const char *env_paths)
272 void ns_set_lib_paths(ns_t *ns, const char *lib_paths)
287 void ns_set_asan_lib_paths(ns_t *ns, const char *asan_lib_paths)
304 void ns_set_permitted_paths(ns_t *ns, const char *permitted_paths)
314 void ns_set_asan_permitted_paths(ns_t *ns, const char *asan_permitted_paths)
328 void ns_set_separated(ns_t *ns, bool separated)
337 void ns_set_allowed_libs(ns_t *ns, const char *allowed_libs)
354 ns_t *find_ns_by_name(const char *ns_name)
372 static ns_inherit *find_ns_inherit(ns_t *ns, ns_t *inherited)
387 void ns_add_inherit(ns_t *ns, ns_t *ns_inherited, const char *shared_libs)
468 bool is_accessible(ns_t *ns, const char *lib_pathname, bool is_asan, bool check_inherited)
549 bool check_asan_path(ns_t *ns, const char *lib_pathname)
606 void ns_set_flag(ns_t *ns, int flag)