/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | ldlibs.c | 178 find_lib_name(const char *dir, const char *file, Ofl_desc *ofl, Rej_desc *rej, argument 214 ofl, FLG_IF_NEEDED, rej, NULL); 228 rej->rej_type = SGS_REJ_STR; 229 rej->rej_str = strerror(errno); 230 rej->rej_name = strdup(path); 248 FLG_IF_NEEDED, rej, NULL); 258 rej->rej_type = SGS_REJ_STR; 259 rej->rej_str = strerror(errno); 260 rej->rej_name = strdup(path); 289 Rej_desc rej local [all...] |
H A D | libs.c | 368 * rej - Rejection descriptor to pass to ld_process_ifl(). 374 * rej will carry the rejection information. 379 const char *arpath, Rej_desc *rej) 393 if (rej->rej_type == 0) { 394 rej->rej_type = _rej.rej_type; 395 rej->rej_info = _rej.rej_info; 396 rej->rej_name = arpath; 445 * rej - Rejection descriptor to pass to ld_process_ifl(). 449 * if any object was extracted, rej will be set if any object 454 Ofl_desc *ofl, Boolean *found, Rej_desc *rej) 378 ar_input(int fd, Ar_desc *adp, Ofl_desc *ofl, Elf *arelf, const char *arpath, Rej_desc *rej) argument 453 ar_extract_bysym(const char *name, int fd, Ar_desc *adp, Ofl_desc *ofl, Boolean *found, Rej_desc *rej) argument 730 ar_extract_all(const char *name, int fd, Ar_desc *adp, Ofl_desc *ofl, Boolean *found, Rej_desc *rej) argument 831 Rej_desc rej = { 0 }; local [all...] |
H A D | files.c | 53 ifl_verify(Ehdr *ehdr, Ofl_desc *ofl, Rej_desc *rej) argument 62 rej->rej_type = SGS_REJ_MACH; 63 rej->rej_info = (uint_t)ehdr->e_machine; 67 rej->rej_type = SGS_REJ_DATA; 68 rej->rej_info = (uint_t)ehdr->e_ident[EI_DATA]; 72 rej->rej_type = SGS_REJ_VERSION; 73 rej->rej_info = (uint_t)ehdr->e_version; 85 Rej_desc *rej) 94 if (rej->rej_type == 0) { 95 *rej 84 ifl_setup(const char *name, Ehdr *ehdr, Elf *elf, Word flags, Ofl_desc *ofl, Rej_desc *rej) argument 3064 ld_process_ifl(const char *name, const char *soname, int fd, Elf *elf, Word flags, Ofl_desc *ofl, Rej_desc *rej, Ifl_desc **ifl_ret) argument 3396 ld_process_open(const char *opath, const char *ofile, int *fd, Ofl_desc *ofl, Word flags, Rej_desc *rej, Ifl_desc **ifl_ret) argument 3437 ld_process_mem(const char *path, const char *file, char *addr, size_t size, Ofl_desc *ofl, Rej_desc *rej) argument 3461 process_req_lib(Sdf_desc *sdf, const char *dir, const char *file, Ofl_desc *ofl, Rej_desc *rej) argument 3531 Rej_desc rej = { 0 }; local [all...] |
H A D | args.c | 2024 Rej_desc rej = { 0 }; local 2053 (FLG_IF_CMDLINE | FLG_IF_NEEDED), &rej, NULL); 2062 if (rej.rej_type) { 2066 MSG_INTL(reject[rej.rej_type]), 2067 rej.rej_name ? rej.rej_name : 2069 conv_reject_desc(&rej, &rej_buf,
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | object.c | 161 Rej_desc rej; local 190 (Ofl_desc *)ELFPRV(olmp), &rej) == (Ifl_desc *)S_ERROR) { 202 check_plat_names(Syscapset *scapset, Alist *caps, Rej_desc *rej) argument 208 if (platcap_check(scapset, capstr->cs_str, rej) == 1) 215 check_mach_names(Syscapset *scapset, Alist *caps, Rej_desc *rej) argument 221 if (machcap_check(scapset, capstr->cs_str, rej) == 1) 247 Rej_desc rej = { 0 }; local 270 (hwcap1_check(scapset, omsk, &rej) == 0)) || 272 (sfcap1_check(scapset, omsk, &rej) == 0)) || 274 (hwcap2_check(scapset, omsk, &rej) [all...] |
H A D | cap.c | 117 hwcap1_check(Syscapset *scapset, Xword val, Rej_desc *rej) argument 126 if (rej) { 129 rej->rej_type = SGS_REJ_HWCAP_1; 130 rej->rej_str = conv_cap_val_hw1(mval, 142 hwcap2_check(Syscapset *scapset, Xword val, Rej_desc *rej) argument 150 if (rej) { 153 rej->rej_type = SGS_REJ_HWCAP_2; 154 rej->rej_str = conv_cap_val_hw2(mval, 167 sfcap1_check(Syscapset *scapset, Xword val, Rej_desc *rej) argument 177 if (rej) { 194 platcap_check(Syscapset *scapset, const char *str, Rej_desc *rej) argument 225 machcap_check(Syscapset *scapset, const char *str, Rej_desc *rej) argument 256 cap_check(Cap *cptr, char *strs, int alt, Fdesc *fdp, Rej_desc *rej) argument 427 cap_check_lmp(Rt_map *lmp, Rej_desc *rej) argument 443 cap_check_fdesc(Fdesc *fdp, Cap *cptr, char *strs, Rej_desc *rej) argument 515 cap_dir(Alist **fdalpp, Lm_list *lml, const char *dname, Rt_map *clmp, uint_t flags, Rej_desc *rej, int *in_nfavl) argument 663 Rej_desc rej = { 0 }; local 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 | analyze.c | 843 trace_so(Rt_map *clmp, Rej_desc *rej, const char *name, const char *path, argument 862 if (rej && (rej->rej_type == 0)) { 871 if (rej) { 876 MSG_INTL(ldd_reject[rej->rej_type]), 877 conv_reject_desc(rej, &rej_buf, M_MACH)); 878 if (rej->rej_name) 879 path = rej->rej_name; 886 if (rej->rej_flags & FLG_REJ_ALTER) 1097 Rej_desc *rej) 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 1571 map_fail(Fdesc *fdp, size_t fsize, const char *name, int fd, Rej_desc *rej) argument 1636 map_obj(Lm_list *lml, Fdesc *fdp, size_t fsize, const char *name, int fd, Rej_desc *rej) argument 1939 load_so(Lm_list *lml, Aliste lmco, Rt_map *clmp, uint_t flags, Fdesc *fdp, Rej_desc *rej, int *in_nfavl) 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 2546 Rej_desc rej = { 0 }; local [all...] |
H A D | setup.c | 209 Rej_desc rej = { 0 }; local 469 fd, &rej); 476 MSG_INTL(err_reject[rej.rej_type]), argvname, 477 conv_reject_desc(&rej, &rej_buf, M_MACH)); 839 if (cap_check_lmp(mlmp, &rej) == 0) { 842 (void) printf(MSG_INTL(ldd_warn[rej.rej_type]), 843 NAME(mlmp), rej.rej_str); 847 MSG_INTL(err_reject[rej.rej_type]), 848 NAME(mlmp), rej.rej_str);
|
H A D | elf.c | 170 elf_cap_check(Fdesc *fdp, Ehdr *ehdr, Rej_desc *rej) argument 223 return (cap_check_fdesc(fdp, cap, str, rej)); 233 Rej_desc *rej) 257 rej->rej_type = SGS_REJ_CLASS; 258 rej->rej_info = (uint_t)ehdr->e_ident[EI_CLASS]; 262 rej->rej_type = SGS_REJ_DATA; 263 rej->rej_info = (uint_t)ehdr->e_ident[EI_DATA]; 268 rej->rej_type = SGS_REJ_TYPE; 269 rej->rej_info = (uint_t)ehdr->e_type; 277 rej 232 elf_verify(caddr_t addr, size_t size, Fdesc *fdp, const char *name, Rej_desc *rej) argument 1057 Rej_desc rej = { 0 }; local [all...] |
H A D | a.out.c | 167 Rej_desc *rej) 166 aout_verify(caddr_t addr, size_t size, Fdesc *fdp, const char *name, Rej_desc *rej) argument
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | sparc_elf.c | 56 elf_mach_flags_check(Rej_desc *rej, Ehdr *ehdr) argument 63 rej->rej_type = SGS_REJ_MACH; 64 rej->rej_info = (uint_t)ehdr->e_machine; 68 rej->rej_type = SGS_REJ_MISFLAG; 69 rej->rej_info = (uint_t)ehdr->e_flags; 73 rej->rej_type = SGS_REJ_BADFLAG; 74 rej->rej_info = (uint_t)ehdr->e_flags; 78 rej->rej_type = SGS_REJ_BADFLAG; 79 rej->rej_info = (uint_t)ehdr->e_flags;
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | sparc_elf.c | 57 elf_mach_flags_check(Rej_desc *rej, Ehdr *ehdr) argument 67 rej->rej_type = SGS_REJ_HAL; 68 rej->rej_info = (uint_t)ehdr->e_flags; 72 rej->rej_type = SGS_REJ_US3; 73 rej->rej_info = (uint_t)ehdr->e_flags; 83 rej->rej_type = SGS_REJ_BADFLAG; 84 rej->rej_info = (uint_t)ehdr->e_flags; 88 rej->rej_type = SGS_REJ_BADFLAG; 89 rej->rej_info = (uint_t)ehdr->e_flags;
|
/illumos-gate/usr/src/uts/common/sys/ib/ibtl/ |
H A D | ibti_cm.h | 520 * rej is valid when an IBT client cm handler has decided to continue a 528 ibt_arej_info_t rej; /* Return for REJ */ member in union:ibt_cm_proceed_reply_s 539 * cm_ret.rej is returned to the CM when an IBT client cm handler 552 ibt_arej_info_t rej; /* Return for REJ */ member in union:ibt_cm_return_args_s::__anon7959
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | files.c | 692 Dbg_file_rejected(Lm_list *lml, Rej_desc *rej, Half mach) argument 700 dbg_print(lml, MSG_INTL(reject[rej->rej_type]), rej->rej_name ? 701 rej->rej_name : MSG_INTL(MSG_STR_UNKNOWN), 702 conv_reject_desc(rej, &rej_buf, mach));
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | elf.c | 926 conv_reject_desc(Rej_desc * rej, Conv_reject_desc_buf_t *reject_desc_buf, argument 929 ushort_t type = rej->rej_type; 930 uint_t info = rej->rej_info; 960 if (rej->rej_str) 961 return ((const char *)rej->rej_str);
|
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | amd64_elf.c | 52 elf_mach_flags_check(Rej_desc *rej, Ehdr *ehdr) argument 58 rej->rej_type = SGS_REJ_BADFLAG; 59 rej->rej_info = (uint_t)ehdr->e_flags;
|
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/ |
H A D | srpt_stp.c | 83 srp_login_rej_t *rej, uint32_t reason); 1626 srpt_format_login_rej(srp_login_req_t *req, srp_login_rej_t *rej, argument 1629 rej->lrej_type = SRP_IU_LOGIN_REJ; 1630 rej->lrej_reason = h2b32(reason); 1631 rej->lrej_tag = req->lreq_tag; 1632 rej->lrej_sup_buf_format =
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | term.c | 666 static const char rej[] = { '\\', ASCII_NBRSP, ASCII_HYPH, local 678 rsz = strcspn(cp, rej);
|
/illumos-gate/usr/src/cmd/sgs/rtld/i386/ |
H A D | i386_elf.c | 55 elf_mach_flags_check(Rej_desc *rej, Ehdr *ehdr) argument 61 rej->rej_type = SGS_REJ_BADFLAG; 62 rej->rej_info = (uint_t)ehdr->e_flags;
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_sm.c | 2331 "Unexpected rej for statep 0x%p in state %d", 3006 * addl_rej_info - Additional rej Information 3007 * arej_info_len - Additional rej Info length 3234 /* Now post a REJ MAD, rej reason consumer abort */ 6674 h2b64(clnt_info->reply_event->rej.ari_gid.gid_guid); 6676 h2b64(clnt_info->reply_event->rej.ari_gid.gid_prefix); 6688 &clnt_info->reply_event->rej.ari_redirect); 6697 clnt_info->reply_event->rej.ari_consumer.rej_ari_len, 6699 bcopy(clnt_info->reply_event->rej.ari_consumer.rej_ari, 6967 min(clnt_info->reply_event->rej [all...] |