/titanic_44/usr/src/cmd/sgs/rtld/common/ |
H A D | remove.c | 341 Grp_hdl *ghp; in remove_so() local 343 for (APLIST_TRAVERSE(GROUPS(lmp), idx1, ghp)) { in remove_so() 347 for (ALIST_TRAVERSE(ghp->gh_depends, idx2, gdp)) { in remove_so() 351 alist_delete(ghp->gh_depends, &idx2); in remove_so() 554 Grp_hdl *ghp; in is_deletable() local 577 for (APLIST_TRAVERSE(HANDLES(lmp), idx, ghp)) { in is_deletable() 583 if (ghp->gh_flags & GPH_PRIVATE) in is_deletable() 585 if (aplist_test(ghalp, ghp, 0) != ALE_EXISTS) in is_deletable() 751 Grp_hdl *ghp; in remove_rescan() local 755 ((ghp = (Grp_hdl *)pdp->pd_info) == NULL)) in remove_rescan() [all …]
|
H A D | dlfcns.c | 128 hdl_add(Grp_hdl *ghp, Rt_map *lmp, uint_t dflags, int *alep) in hdl_add() argument 138 for (ALIST_TRAVERSE(ghp->gh_depends, idx, gdp)) { in hdl_add() 157 if (aplist_append(&GROUPS(lmp), ghp, AL_CNT_GROUPS) == NULL) in hdl_add() 163 if ((gdp = alist_append(&ghp->gh_depends, &gd, in hdl_add() 173 DBG_CALL(Dbg_file_hdl_action(ghp, lmp, DBG_DEP_ADD, in hdl_add() 176 DBG_CALL(Dbg_file_hdl_action(ghp, lmp, DBG_DEP_UPDATE, in hdl_add() 203 Grp_hdl *ghp = NULL, *aghp; in hdl_create() local 227 ghp = aghp; in hdl_create() 232 if (ghp == NULL) { in hdl_create() 241 if ((ghp = malloc(sizeof (Grp_hdl))) == NULL) in hdl_create() [all …]
|
H A D | audit.c | 1203 Grp_hdl *ghp; in audit_desc_cleanup() local 1206 for (APLIST_TRAVERSE(ghalp, idx, ghp)) { in audit_desc_cleanup() 1207 (void) dlclose_intn(ghp, clmp); in audit_desc_cleanup() 1363 audit_disable(char *name, Rt_map *clmp, Grp_hdl *ghp, Audit_list *alp) in audit_disable() argument 1366 if (ghp) in audit_disable() 1367 (void) dlclose_intn(ghp, clmp); in audit_disable() 1414 Grp_hdl *ghp; in audit_setup() local 1425 if ((ghp = dlmopen_intn((Lm_list *)LM_ID_NEWLM, ptr, in audit_setup() 1431 lmp = ghp->gh_ownlmp; in audit_setup() 1440 return (audit_disable(ptr, clmp, ghp, alp)); in audit_setup() [all …]
|
H A D | cap.c | 674 Grp_hdl *ghp = NULL; in cap_filtees() local 690 (flags | FLG_RT_PUBHDL), &ghp, fdp, &rej, in_nfavl); in cap_filtees() 701 if (ghp) in cap_filtees() 712 if (nlmp && ghp) { in cap_filtees() 713 ghp->gh_flags |= GPH_FILTEE; in cap_filtees() 714 pdp->pd_info = (void *)ghp; in cap_filtees() 732 if (nlmp && ghp && (((nlmp = analyze_lmc(lml, nlmco, nlmp, in cap_filtees() 744 if (nlmp && ghp && in cap_filtees() 745 (hdl_add(ghp, flmp, GPD_FILTER, NULL) == NULL)) in cap_filtees() 751 if (nlmp && ghp && (FLAGS1(nlmp) & FL1_RT_ENDFILTE)) in cap_filtees()
|
H A D | elf.c | 893 Grp_hdl *ghp; local 980 ghp = NULL; 1034 if ((ghp = hdl_create(&lml_rtld, nlmp, ilmp, 1042 if (nlmp && ghp) 1043 pdp->pd_info = (void *)ghp; 1080 FLG_RT_PUBHDL, &ghp, &fd, &rej, 1091 if (nlmp && ghp) { 1092 ghp->gh_flags |= GPH_FILTEE; 1093 pdp->pd_info = (void *)ghp; 1119 if (nlmp && ghp && (((nlmp = analyze_lmc(lml, [all …]
|
H A D | object.c | 246 Grp_hdl *ghp; in elf_obj_fini() local 386 for (APLIST_TRAVERSE(HANDLES(nlmp), idx1, ghp)) { in elf_obj_fini() 390 ghp->gh_ownlmp = nlmp; in elf_obj_fini() 392 for (ALIST_TRAVERSE(ghp->gh_depends, idx2, gdp)) { in elf_obj_fini()
|
H A D | analyze.c | 2167 Grp_hdl *ghp; in load_finish() local 2283 if ((ghp = hdl_create(lml, nlmp, clmp, hflags, rdflags, in load_finish() 2290 if (hdl_initialize(ghp, nlmp, nmode, promote) == 0) in load_finish() 2294 *hdl = ghp; in load_finish() 2322 for (APLIST_TRAVERSE(GROUPS(clmp), idx1, ghp)) { in load_finish() 2336 for (ALIST_TRAVERSE(ghp->gh_depends, idx2, gdp)) { in load_finish() 2343 if ((gdp = hdl_add(ghp, nlmp, rdflags, &ale)) == NULL) in load_finish() 2396 hdl_add(ghp, dlmp1, rdflags, &ale)) == NULL) { in load_finish() 2837 Grp_hdl *ghp; in lookup_sym_direct() local 2856 for (APLIST_TRAVERSE(HANDLES(clmp), idx1, ghp)) { in lookup_sym_direct() [all …]
|
H A D | tsort.c | 431 Grp_hdl *ghp; in dep_visit() local 435 ((ghp = (Grp_hdl *)pdp->pd_info) == NULL)) in dep_visit() 438 for (ALIST_TRAVERSE(ghp->gh_depends, idx2, in dep_visit()
|
H A D | a.out.c | 681 aout_dlsym_handle(Grp_hdl *ghp, Slookup *slp, Sresult *srp, uint_t *binfo, in aout_dlsym_handle() argument 687 if (dlsym_handle(ghp, slp, srp, binfo, in_nfavl)) in aout_dlsym_handle() 702 return (dlsym_handle(ghp, &sl, srp, binfo, in_nfavl)); in aout_dlsym_handle()
|
H A D | util.c | 3454 callable(Rt_map *clmp, Rt_map *dlmp, Grp_hdl *ghp, uint_t slflags) in callable() argument 3504 if (ghp && (ghp1 == ghp)) in callable()
|
/titanic_44/usr/src/cmd/sgs/libcrle/common/ |
H A D | dump.c | 71 Grp_hdl * ghp; in load() local 75 if ((ghp = (Grp_hdl *)dlmopen(LM_ID_BASE, opath, in load() 81 lmp = ghp->gh_ownlmp; in load() 171 Grp_hdl * ghp; in scanconfig() local 177 if ((ghp = dlmopen(LM_ID_BASE, 0, in scanconfig() 180 FLAGS1(ghp->gh_ownlmp) |= FL1_RT_CONFSET; in scanconfig()
|
/titanic_44/usr/src/cmd/sgs/liblddbg/common/ |
H A D | files.c | 195 Dbg_file_hdl_collect(Grp_hdl *ghp, const char *name) in Dbg_file_hdl_collect() argument 198 Lm_list *lml = ghp->gh_ownlml; in Dbg_file_hdl_collect() 206 if (ghp->gh_ownlmp) in Dbg_file_hdl_collect() 207 str = NAME(ghp->gh_ownlmp); in Dbg_file_hdl_collect() 219 conv_grphdl_flags(ghp->gh_flags, &grphdl_flags_buf)); in Dbg_file_hdl_collect() 223 Dbg_file_hdl_action(Grp_hdl *ghp, Rt_map *lmp, int type, uint_t flags) in Dbg_file_hdl_action() argument 254 if (ghp->gh_ownlmp) in Dbg_file_hdl_action() 255 name = NAME(ghp->gh_ownlmp); in Dbg_file_hdl_action() 260 conv_grphdl_flags(ghp->gh_flags, &grphdl_flags_buf), in Dbg_file_hdl_action() 261 EC_NATPTR(ghp)); in Dbg_file_hdl_action()
|
/titanic_44/usr/src/cmd/mailx/ |
H A D | cmd3.c | 671 register struct grouphead *gh, **ghp; in ungroup() local 688 for (ghp = &groups[h]; *ghp != NOGRP; ghp = &((*ghp)->g_link)) { in ungroup() 689 gh = *ghp; in ungroup() 692 *ghp = gh->g_link; in ungroup()
|
/titanic_44/usr/src/cmd/sgs/rtld/mdbmod/common/ |
H A D | rtld.c | 1149 Grp_hdl *ghp; in dcmd_Handles() local 1197 if (mdb_vread(&ghp, sizeof (Grp_hdl *), datap) == -1) { in dcmd_Handles() 1206 if (dcmd_GrpHdl((uintptr_t)ghp, flags, argc, argv) == DCMD_ERR) { in dcmd_Handles() 1214 if (mdb_vread(&ghp, sizeof (Grp_hdl *), datap) == -1) { in dcmd_Handles() 1221 if (dcmd_GrpHdl((uintptr_t)ghp, flags, argc, in dcmd_Handles() 1246 Grp_hdl *ghp; in dcmd_Groups() local 1294 if (mdb_vread(&ghp, sizeof (Grp_hdl *), datap) == -1) { in dcmd_Groups() 1303 if (dcmd_GrpHdl((uintptr_t)ghp, flags, argc, argv) == DCMD_ERR) { in dcmd_Groups() 1310 if (mdb_vread(&ghp, sizeof (Grp_hdl *), datap) == -1) { in dcmd_Groups() 1317 if (dcmd_GrpHdl((uintptr_t)ghp, flags, argc, in dcmd_Groups()
|