Home
last modified time | relevance | path

Searched refs:nsid (Results 1 – 13 of 13) sorted by relevance

/glibc-2.36/dlfcn/
Ddlmopen.c30 Lmid_t nsid; member
46 if (args->nsid != LM_ID_BASE) in dlmopen_doit()
63 args->nsid, __libc_argc, __libc_argv, __environ); in dlmopen_doit()
67 dlmopen_implementation (Lmid_t nsid, const char *file, int mode, in dlmopen_implementation() argument
71 args.nsid = nsid; in dlmopen_implementation()
81 ___dlmopen (Lmid_t nsid, const char *file, int mode) in ___dlmopen() argument
84 return GLRO (dl_dlfcn_hook)->dlmopen (nsid, file, mode, RETURN_ADDRESS (0)); in ___dlmopen()
86 return dlmopen_implementation (nsid, file, mode, RETURN_ADDRESS (0)); in ___dlmopen()
96 __dlmopen (Lmid_t nsid, const char *file, int mode, void *dl_caller) in __dlmopen() argument
98 return dlmopen_implementation (nsid, file, mode, RETURN_ADDRESS (0)); in __dlmopen()
[all …]
/glibc-2.36/elf/
Ddl-open.c56 Lmid_t nsid; member
501 if (dst != NULL || args->nsid == __LM_ID_CALLER in dl_open_worker_begin()
515 if (args->nsid == __LM_ID_CALLER) in dl_open_worker_begin()
516 args->nsid = call_map->l_ns; in dl_open_worker_begin()
522 args->libc_already_loaded = GL(dl_ns)[args->nsid].libc_map != NULL; in dl_open_worker_begin()
526 = GL (dl_ns)[args->nsid]._ns_global_scope_pending_adds; in dl_open_worker_begin()
530 _dl_debug_initialize (0, args->nsid); in dl_open_worker_begin()
535 mode | __RTLD_CALLMAP, args->nsid); in dl_open_worker_begin()
581 assert (_dl_debug_update (args->nsid)->r_state == RT_CONSISTENT); in dl_open_worker_begin()
619 struct r_debug *r = _dl_debug_update (args->nsid); in dl_open_worker_begin()
[all …]
Ddl-object.c30 _dl_add_to_namespace_list (struct link_map *new, Lmid_t nsid) in _dl_add_to_namespace_list() argument
35 if (GL(dl_ns)[nsid]._ns_loaded != NULL) in _dl_add_to_namespace_list()
37 struct link_map *l = GL(dl_ns)[nsid]._ns_loaded; in _dl_add_to_namespace_list()
45 GL(dl_ns)[nsid]._ns_loaded = new; in _dl_add_to_namespace_list()
46 ++GL(dl_ns)[nsid]._ns_nloaded; in _dl_add_to_namespace_list()
58 struct link_map *loader, int mode, Lmid_t nsid) in _dl_new_object() argument
67 assert (nsid == LM_ID_BASE); in _dl_new_object()
136 new->l_ns = nsid; in _dl_new_object()
155 if (GL(dl_ns)[nsid]._ns_loaded != NULL) in _dl_new_object()
157 new->l_scope[idx++] = &GL(dl_ns)[nsid]._ns_loaded->l_searchlist; in _dl_new_object()
Ddl-close.c163 Lmid_t nsid = map->l_ns; in _dl_close_worker() local
164 struct link_namespaces *ns = &GL(dl_ns)[nsid]; in _dl_close_worker()
261 _dl_sort_maps (maps, nloaded, (nsid == LM_ID_BASE), true); in _dl_close_worker()
273 assert (imap->l_ns == nsid); in _dl_close_worker()
288 imap->l_name, nsid); in _dl_close_worker()
352 assert (tmap->l_ns == nsid); in _dl_close_worker()
458 _dl_audit_activity_nsid (nsid, LA_ACT_DELETE); in _dl_close_worker()
462 struct r_debug *r = _dl_debug_update (nsid); in _dl_close_worker()
465 LIBC_PROBE (unmap_start, 2, nsid, r); in _dl_close_worker()
666 assert (nsid == LM_ID_BASE); in _dl_close_worker()
[all …]
Ddl-load.c943 void **stack_endp, Lmid_t nsid) in _dl_map_object_from_fd() argument
954 struct r_debug *r = _dl_debug_update (nsid); in _dl_map_object_from_fd()
963 assert (nsid == LM_ID_BASE); in _dl_map_object_from_fd()
992 LIBC_PROBE (map_failed, 2, nsid, r); in _dl_map_object_from_fd()
999 for (l = GL(dl_ns)[nsid]._ns_loaded; l != NULL; l = l->l_next) in _dl_map_object_from_fd()
1018 if (__glibc_unlikely (nsid != LM_ID_BASE) in _dl_map_object_from_fd()
1024 l = _dl_new_object (realname, name, l_type, loader, mode, nsid); in _dl_map_object_from_fd()
1040 _dl_add_to_namespace_list (l, nsid); in _dl_map_object_from_fd()
1057 _dl_debug_printf ("file=%s [%lu]; generating link map\n", name, nsid); in _dl_map_object_from_fd()
1063 l = _dl_new_object (realname, name, l_type, loader, mode, nsid); in _dl_map_object_from_fd()
[all …]
Ddl-audit.c40 _dl_audit_activity_nsid (Lmid_t nsid, int action) in _dl_audit_activity_nsid() argument
45 struct link_map *head = GL(dl_ns)[nsid]._ns_loaded; in _dl_audit_activity_nsid()
76 _dl_audit_objopen (struct link_map *l, Lmid_t nsid) in _dl_audit_objopen() argument
87 state->bindflags = afct->objopen (l, nsid, &state->cookie); in _dl_audit_objopen()
/glibc-2.36/sysdeps/mips/
Ddl-machine-reject-phdr.h161 Lmid_t nsid; in elf_machine_reject_phdr_p() local
212 for (nsid = 0; nsid < DL_NNS; ++nsid) in elf_machine_reject_phdr_p()
213 for (l = GL(dl_ns)[nsid]._ns_loaded; l != NULL; l = l->l_next) in elf_machine_reject_phdr_p()
Ddl-trampoline.c72 Lmid_t nsid; in elf_machine_runtime_link_map() local
74 for (nsid = 0; nsid < DL_NNS; ++nsid) in elf_machine_runtime_link_map()
75 for (l = GL(dl_ns)[nsid]._ns_loaded; l != NULL; l = l->l_next) in elf_machine_runtime_link_map()
/glibc-2.36/sysdeps/powerpc/powerpc32/
Ddl-machine.c95 Lmid_t nsid; in __elf_preferred_address() local
107 for (nsid = 0; nsid < DL_NNS; ++nsid) in __elf_preferred_address()
108 for (l = GL(dl_ns)[nsid]._ns_loaded; l; l = l->l_next) in __elf_preferred_address()
/glibc-2.36/sysdeps/generic/
Dldsodefs.h668 Lmid_t nsid, int argc, char *argv[], char *env[]);
927 Lmid_t nsid) attribute_hidden;
1005 extern void _dl_add_to_namespace_list (struct link_map *new, Lmid_t nsid)
1011 int mode, Lmid_t nsid)
1240 Lmid_t nsid, int argc, char *argv[], char *env[])
1351 void _dl_audit_activity_nsid (Lmid_t nsid, int action)
1356 void _dl_audit_objopen (struct link_map *l, Lmid_t nsid)
/glibc-2.36/include/
Ddlfcn.h112 void *(*dlmopen) (Lmid_t nsid, const char *file, int mode, void *dl_caller);
126 extern void *__dlmopen (Lmid_t nsid, const char *file, int mode,
/glibc-2.36/ChangeLog.old/
DChangeLog.249415 elf: Replace nsid with args.nsid [BZ #27609]
DChangeLog.1838483 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
79174 (lose): Take new parameter "nsid".