Lines Matching refs:lmp

110 get_dir_list(uchar_t rules, Rt_map *lmp, uint_t flags)  in get_dir_list()  argument
113 Lm_list *lml = LIST(lmp); in get_dir_list()
121 ((FLAGS1(lmp) & FL1_RT_LDDSTUB) == 0) && in get_dir_list()
175 (void) expand_paths(lmp, rpl_libpath, in get_dir_list()
216 (void) expand_paths(lmp, prm_libpath, in get_dir_list()
229 if (RPATH(lmp)) { in get_dir_list()
230 DBG_CALL(Dbg_libs_path(lml, RPATH(lmp), LA_SER_RUNPATH, in get_dir_list()
231 NAME(lmp))); in get_dir_list()
243 RPATH(lmp), NAME(lmp)); in get_dir_list()
244 if (RLIST(lmp) && (rtld_flags & RT_FL_SECURE) && in get_dir_list()
246 remove_alist(&RLIST(lmp), 1); in get_dir_list()
248 if (RLIST(lmp) == NULL) { in get_dir_list()
253 (void) expand_paths(lmp, RPATH(lmp), in get_dir_list()
254 &RLIST(lmp), AL_CNT_SEARCH, LA_SER_RUNPATH, in get_dir_list()
257 dalpp = &RLIST(lmp); in get_dir_list()
268 if ((FLAGS1(lmp) & FL1_RT_NODEFLIB) == 0) { in get_dir_list()
271 ((flags & FLG_RT_AUDIT) && !(FLAGS1(lmp) & in get_dir_list()
273 dalpp = LM_SECURE_DIRS(lmp)(); in get_dir_list()
275 dalpp = LM_DEFAULT_DIRS(lmp)(); in get_dir_list()
301 get_next_dir(Spath_desc *sdp, Rt_map *lmp, uint_t flags) in get_next_dir() argument
316 get_dir_list(*sdp->sp_rule, lmp, flags)) != NULL)) && in get_next_dir()
344 Rt_map *lmp) in expand() argument
351 Lm_list *lml = LIST(lmp); in expand()
386 MSG_INTL(MSG_ERR_EXPAND1), NAME(lmp), in expand()
412 (((_len = DIRSZ(lmp)) != 0) || in expand()
413 ((_len = fullpath(lmp, 0)) != 0))) { in expand()
416 ORIGNAME(lmp), _len); in expand()
424 NAME(lmp), oname); in expand()
433 if (FLAGS1(lmp) & FL1_RT_ALTCAP) in expand()
461 NAME(lmp), oname); in expand()
470 if (FLAGS1(lmp) & FL1_RT_ALTCAP) in expand()
498 NAME(lmp), oname); in expand()
526 NAME(lmp), oname); in expand()
554 NAME(lmp), oname); in expand()
595 NAME(lmp), oname); in expand()
722 MSG_INTL(MSG_ERR_EXPAND2), NAME(lmp), in expand()
736 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_ERR_EXPAND1), NAME(lmp), in expand()
777 NAME(lmp), oname); in expand()
1184 fullpath(Rt_map *lmp, Fdesc *fdp) in fullpath() argument
1199 PATHNAME(lmp) = fdp->fd_pname; in fullpath()
1201 PATHNAME(lmp) = NAME(lmp); in fullpath()
1212 PATHNAME(lmp) = fdp->fd_pname; in fullpath()
1214 PATHNAME(lmp) = NAME(lmp); in fullpath()
1216 name = path = PATHNAME(lmp); in fullpath()
1248 if ((PATHNAME(lmp) = in fullpath()
1250 PATHNAME(lmp) = name; in fullpath()
1253 name = ORIGNAME(lmp) = PATHNAME(lmp); in fullpath()
1259 DIRSZ(lmp) = strrchr(name, '/') - name; in fullpath()
1260 return (DIRSZ(lmp)); in fullpath()