/illumos-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | amd64_elf.c | 149 Lm_list *lml = LIST(rlmp); local 165 MSG_ORIG(MSG_SPECFIL_DYNPLT), lml) == 0) { 178 MSG_ORIG(MSG_SPECFIL_DYNPLT), lml) == 0) { 223 Lm_list *lml; local 233 lml = LIST(lmp); 234 if ((lmflags = lml->lm_flags) & LML_FLG_RTLDLM) { 248 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_REL_PLTREF), 251 rtldexit(lml, 1); 268 llmp = lml->lm_tail; 274 SLOOKUP_INIT(sl, name, lmp, lml [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | a.out.c | 197 aout_needed(Lm_list *lml, Aliste lmco, Rt_map *clmp, int *in_nfavl) argument 231 DBG_CALL(Dbg_libs_find(lml, file)); 242 if (lml->lm_flags & LML_FLG_TRC_ENABLE) 259 eprintf(lml, ERR_FATAL, 282 nlmp = load_one(lml, lmco, palp, clmp, MODE(clmp), 0, 0, 287 ((lml->lm_flags & LML_FLG_TRC_ENABLE) == 0)) 505 aout_new_lmp(Lm_list *lml, Aliste lmco, Fdesc *fdp, Addr addr, size_t msize, argument 514 DBG_CALL(Dbg_file_aout(lml, name, addr, msize, lml->lm_lmidstr, lmco)); 539 LIST(lmp) = lml; 725 aout_get_mmap(Lm_list *lml, mmapobj_result_t *mpp) argument [all...] |
H A D | audit.c | 43 * if ((lml->lm_tflags | AFLAGS(lmp)) & LML_TFLG_AUD_MASK) 707 Lm_list *lml = LIST(lmp); local 719 DBG_CALL(Dbg_audit_objclose(lml, alp->al_libname, NAME(lmp))); 1416 Lm_list *lml; local 1432 lml = LIST(lmp); 1437 if ((alp = lml->lm_alp) != NULL) { 1469 lml->lm_flags |= LML_FLG_HOLDLOCK; 1489 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_GEN_NOSYM), 1495 if ((tobj = tsort(lmp, lml->lm_init, RT_SORT_REV)) == 1503 leave(lml, thr_flg_reente [all...] |
H A D | cap.c | 515 cap_dir(Alist **fdalpp, Lm_list *lml, const char *dname, Rt_map *clmp, argument 537 DBG_CALL(Dbg_file_rejected(lml, &_rej, M_MACH)); 578 if (load_trace(lml, &pd, clmp, &fd) == NULL) 587 if (find_path(lml, clmp, flags, &fd, &_rej, in_nfavl) == 0) { 592 DBG_CALL(Dbg_cap_candidate(lml, fd.fd_nname)); 600 fd.fd_lml = lml; 661 Lm_list *lml = LIST(flmp); local 665 if (cap_dir(&fdalp, lml, dir, flmp, flags, &rej, in_nfavl) == 0) 687 DBG_CALL(Dbg_file_filtee(lml, NAME(flmp), fdp->fd_nname, 0)); 689 nlmp = load_path(lml, nlmc 784 load_cap(Lm_list *lml, Aliste lmco, const char *dir, Rt_map *clmp, uint_t mode, uint_t flags, Grp_hdl **hdl, Rej_desc *rej, int *in_nfavl) argument [all...] |
H A D | dlfcns.c | 65 Lm_list *lml; local 68 for (APLIST_TRAVERSE(dynlm_list, idx1, lml)) { 72 for (ALIST_TRAVERSE(lml->lm_lists, idx2, lmc)) { 200 hdl_create(Lm_list *lml, Rt_map *rlmp, Rt_map *clmp, uint_t hflags, argument 212 alpp = &(lml->lm_handle); 278 ghp->gh_ownlmp = lml->lm_head; 279 ghp->gh_ownlml = lml; 457 dlclose_core(Grp_hdl *ghp, Rt_map *clmp, Lm_list *lml) argument 517 if ((lml->lm_flags & (LML_FLG_BASELM | LML_FLG_RTLDLM)) == 0) 518 remove_lml(lml); 552 Lm_list *lml; local 616 newlmid(Lm_list *lml) argument 640 dlmopen_core(Lm_list *lml, Lm_list *olml, const char *path, int mode, Rt_map *clmp, uint_t flags, uint_t orig, int *in_nfavl) argument 856 dlmopen_intn(Lm_list *lml, const char *path, int mode, Rt_map *clmp, uint_t flags, uint_t orig) argument 973 dlmopen_check(Lm_list *lml, const char *path, int mode, Rt_map *clmp) argument 1021 Lm_list *lml; local 1088 Lm_list *lml; local 1378 Lm_list *lml = LIST(clmp); local 1655 Lm_list *lml = LIST(clmp); local 1753 get_linkmap_id(Lm_list *lml) argument 1767 set_def_need(Lm_list *lml, Dyninfo *dyip, const char *name) argument 1796 Lm_list *lml = LIST(clmp); local 1909 Lm_list *lml = LIST(lmp); local 2294 Lm_list *lml, *clml; local [all...] |
H A D | analyze.c | 105 analyze_lmc(Lm_list *lml, Aliste nlmco, Rt_map *nlmp, Rt_map *clmp, argument 120 nlmc = (Lm_cntl *)alist_item_by_offset(lml->lm_lists, nlmco); 152 if ((olmp = elf_obj_fini(lml, lmp, clmp, 154 if (lml->lm_flags & LML_FLG_TRC_ENABLE) 183 if (LM_NEEDED(lmp)(lml, nlmco, lmp, in_nfavl) == 0) { 184 if (lml->lm_flags & LML_FLG_TRC_ENABLE) 211 nlmc = (Lm_cntl *)alist_item_by_offset(lml->lm_lists, nlmco); 219 nlmc = (Lm_cntl *)alist_item_by_offset(lml->lm_lists, nlmco); 287 relocate_so(Lm_list *lml, Rt_map *lmp, int *relocated, int now, int *in_nfavl) argument 296 if (((lml 338 _relocate_lmc(Lm_list *lml, Aliste lmco, Rt_map *nlmp, int *relocated, int *in_nfavl) argument 465 relocate_lmc(Lm_list *lml, Aliste nlmco, Rt_map *clmp, Rt_map *nlmp, int *in_nfavl) argument 784 is_so_loaded(Lm_list *lml, const char *name, int *in_nfavl) argument 911 Lm_list *lml = LIST(lmp); local 1026 is_devinode_loaded(rtld_stat_t *status, Lm_list *lml, const char *name, uint_t flags) argument 1039 Lm_list *lml; local 1096 file_notfound(Lm_list *lml, const char *name, Rt_map *clmp, uint_t flags, Rej_desc *rej) argument 1140 file_open(int err, Lm_list *lml, Rt_map *clmp, uint_t flags, Fdesc *fdp, Rej_desc *rej, int *in_nfavl) argument 1352 find_path(Lm_list *lml, Rt_map *clmp, uint_t flags, Fdesc *fdp, Rej_desc *rej, int *in_nfavl) argument 1413 _find_file(Lm_list *lml, Rt_map *clmp, uint_t flags, Fdesc *fdp, Rej_desc *rej, Pdesc *pdp, int aflag, int *in_nfavl) argument 1448 find_file(Lm_list *lml, Rt_map *clmp, uint_t flags, Fdesc *fdp, Rej_desc *rej, Pdesc *pdp, Word *strhash, int *in_nfavl) argument 1636 map_obj(Lm_list *lml, Fdesc *fdp, size_t fsize, const char *name, int fd, Rej_desc *rej) argument 1764 load_file(Lm_list *lml, Aliste lmco, Rt_map *clmp, Fdesc *fdp, int *in_nfavl) argument 1939 load_so(Lm_list *lml, Aliste lmco, Rt_map *clmp, uint_t flags, Fdesc *fdp, Rej_desc *rej, int *in_nfavl) argument 2108 load_trace(Lm_list *lml, Pdesc *pdp, Rt_map *clmp, Fdesc *fdp) argument 2163 load_finish(Lm_list *lml, const char *name, Rt_map *clmp, int nmode, uint_t flags, Grp_hdl **hdl, Rt_map *nlmp) argument 2414 load_path(Lm_list *lml, Aliste lmco, Rt_map *clmp, int nmode, uint_t flags, Grp_hdl **hdl, Fdesc *fdp, Rej_desc *rej, int *in_nfavl) argument 2543 load_one(Lm_list *lml, Aliste lmco, Alist *palp, Rt_map *clmp, int mode, uint_t flags, Grp_hdl **hdl, int *in_nfavl) argument 2627 Lm_list *lml; local 2953 Lm_list *lml = LIST(clmp); local [all...] |
H A D | elf.c | 328 Lm_list *lml = &lml_rtld; local 329 Rt_map *lmp = lml->lm_head; 331 if (lml->lm_flags & LML_FLG_PLTREL) 334 if (elf_needed(lml, ALIST_OFF_DATA, lmp, NULL) == 0) 353 lml->lm_flags |= LML_FLG_PLTREL; 368 Lm_list *lml = LIST(clmp); local 387 if (lml->lm_flags & LML_FLG_TRC_ENABLE) 425 if ((lmco = create_cntl(lml, 0)) == NULL) { 434 load_one(lml, lmco, palp, clmp, MODE(clmp), flags, hdl, in_nfavl); 450 ((nlmp = analyze_lmc(lml, lmc 507 Lm_list *lml = LIST(clmp); local 631 elf_needed(Lm_list *lml, Aliste lmco, Rt_map *clmp, int *in_nfavl) argument 826 Lm_list *lml = LIST(ilmp); local 1649 elf_new_lmp(Lm_list *lml, Aliste lmco, Fdesc *fdp, Addr addr, size_t msize, void *odyn, Rt_map *clmp, int *in_nfavl) argument 2411 Lm_list *lml = LIST(rlmp); local 2692 Lm_list *lml; local 2879 Lm_list *lml = LIST(lmp); local 2922 Lm_list *lml = LIST(lmp); local 2984 Lm_list *lml = LIST(lmp); local [all...] |
H A D | util.c | 63 rtld_db_dlactivity(Lm_list *lml) argument 65 DBG_CALL(Dbg_util_dbnotify(lml, r_debug.rtd_rdebug.r_rdevent, 74 rtld_db_preinit(Lm_list *lml) argument 76 DBG_CALL(Dbg_util_dbnotify(lml, r_debug.rtd_rdebug.r_rdevent, 85 rtld_db_postinit(Lm_list *lml) argument 87 DBG_CALL(Dbg_util_dbnotify(lml, r_debug.rtd_rdebug.r_rdevent, 119 rd_event(Lm_list *lml, rd_event_e event, r_state_e state) argument 169 fptr(lml); 350 fpavl_recorded(Lm_list *lml, const char *name, uint_t hash, avl_index_t *where) argument 357 if ((lml 380 fpavl_insert(Lm_list *lml, Rt_map *lmp, const char *name, avl_index_t where) argument 798 call_fini(Lm_list *lml, Rt_map **tobj, Rt_map *clmp) argument 861 Lm_list *lml; local 1047 lm_append(Lm_list *lml, Aliste lmco, Rt_map *lmp) argument 1174 lm_delete(Lm_list *lml, Rt_map *lmp, Rt_map *clmp) argument 1235 lm_move(Lm_list *lml, Aliste nlmco, Aliste plmco, Lm_cntl *nlmc, Lm_cntl *plmc) argument 1314 create_cntl(Lm_list *lml, int dlopen) argument 2885 veprintf(Lm_list *lml, Error error, const char *format, va_list args) argument 3066 eprintf(Lm_list *lml, Error error, const char *format, ...) argument 3105 rtldexit(Lm_list * lml, int status) argument 3145 dz_map(Lm_list *lml, caddr_t addr, size_t len, int prot, int flags) argument 3162 nu_map(Lm_list *lml, caddr_t addr, size_t len, int prot, int flags) argument 3219 is_path_used(Lm_list *lml, Word unref, int *nl, Alist *alp, const char *obj) argument 3284 unused(Lm_list *lml) argument 3402 leave(Lm_list *lml, int flags) argument 3562 set_environ(Lm_list *lml) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/i386/ |
H A D | i386_elf.c | 129 Lm_list *lml = LIST(rlmp); local 143 MSG_ORIG(MSG_SPECFIL_DYNPLT), lml) == 0) { 158 MSG_ORIG(MSG_SPECFIL_DYNPLT), lml) == 0) { 204 Lm_list *lml; local 214 lml = LIST(lmp); 215 if ((lmflags = lml->lm_flags) & LML_FLG_RTLDLM) { 228 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_REL_PLTREF), 231 rtldexit(lml, 1); 247 llmp = lml->lm_tail; 253 SLOOKUP_INIT(sl, name, lmp, lml [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/mdbmod/common/ |
H A D | rtld.c | 590 Lm_list *lml, lm; local 592 if (mdb_vread(&lml, sizeof (Lm_list *), datap) == -1) { 597 if (mdb_vread(&lm, sizeof (Lm_list), (uintptr_t)lml) == -1) { 599 MSG_ORIG(MSG_LMLIST_STR), lml); local 788 Lm_list lml; local 796 if (mdb_vread(&lml, sizeof (lml), addr) == -1) { 802 if (lml.lm_flags & LML_FLG_BASELM) 804 else if (lml.lm_flags & LML_FLG_RTLDLM) 815 if (lml 984 Lm_list *lml; local [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | sparc_elf.c | 273 Lm_list *lml = LIST(rlmp); local 287 MSG_ORIG(MSG_SPECFIL_DYNPLT), lml) == 0) { 299 MSG_ORIG(MSG_SPECFIL_DYNPLT), lml) == 0) { 312 MSG_ORIG(MSG_SPECFIL_DYNPLT), lml) == 0) { 363 Lm_list *lml; local 373 lml = LIST(lmp); 374 if ((lmflags = lml->lm_flags) & LML_FLG_RTLDLM) { 399 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_REL_PLTREF), 402 rtldexit(lml, 1); 419 llmp = lml [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | sparc_elf.c | 332 * lml - link map list 338 reloc_val64_to_g1(uchar_t *off, Addr *value, const char *sym, Lm_list *lml) argument 348 MSG_ORIG(MSG_SPECFIL_DYNPLT), lml) == 0) { 358 MSG_ORIG(MSG_SPECFIL_DYNPLT), lml) == 0) { 368 MSG_ORIG(MSG_SPECFIL_DYNPLT), lml) == 0) { 378 MSG_ORIG(MSG_SPECFIL_DYNPLT), lml) == 0) { 420 Lm_list *lml = LIST(rlmp); local 433 MSG_ORIG(MSG_SYM_LADYNDATA), lml) && 435 MSG_ORIG(MSG_SYM_ELFPLTTRACE), lml))) { 491 Lm_list *lml; local [all...] |
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | elfedit.c | 520 dbg_print(Lm_list *lml, const char *format, ...) argument 530 * The lml argument is only meaningful for diagnostics sent to ld.so.1. 533 lml = 0;
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | sections.c | 1515 capmask_value(Lm_list *lml, Word type, Capmask *capmask, int *title) argument 1523 DBG_CALL(Dbg_cap_post_title(lml, title)); 1525 DBG_CALL(Dbg_cap_val_entry(lml, DBG_STATE_CURRENT, type, 1527 DBG_CALL(Dbg_cap_val_entry(lml, DBG_STATE_EXCLUDE, type, 1532 DBG_CALL(Dbg_cap_val_entry(lml, DBG_STATE_RESOLVED, type, 1537 capstr_value(Lm_list *lml, Word type, Caplist *caplist, int *title) argument 1564 Dbg_cap_post_title(lml, title); 1566 Dbg_cap_ptr_entry(lml, DBG_STATE_CURRENT, type, 1573 DBG_CALL(Dbg_cap_ptr_entry(lml, 1582 Dbg_cap_ptr_entry(lml, DBG_STATE_RESOLVE [all...] |