/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, in find_lib_name() argument 214 ofl, FLG_IF_NEEDED, rej, NULL); in find_lib_name() 228 rej->rej_type = SGS_REJ_STR; in find_lib_name() 229 rej->rej_str = strerror(errno); in find_lib_name() 230 rej->rej_name = strdup(path); in find_lib_name() 248 FLG_IF_NEEDED, rej, NULL); in find_lib_name() 258 rej->rej_type = SGS_REJ_STR; in find_lib_name() 259 rej->rej_str = strerror(errno); in find_lib_name() 260 rej->rej_name = strdup(path); in find_lib_name() 289 Rej_desc rej = { 0 }; in ld_find_library() local [all …]
|
H A D | libs.c | 380 const char *arpath, Rej_desc *rej) in ar_input() argument 394 if (rej->rej_type == 0) { in ar_input() 395 rej->rej_type = _rej.rej_type; in ar_input() 396 rej->rej_info = _rej.rej_info; in ar_input() 397 rej->rej_name = arpath; in ar_input() 455 Ofl_desc *ofl, Boolean *found, Rej_desc *rej) in ar_extract_bysym() argument 686 rej)) { in ar_extract_bysym() 732 Boolean *found, Rej_desc *rej) in ar_extract_all() argument 792 switch (ar_input(fd, adp, ofl, arelf, arpath, rej)) { in ar_extract_all() 829 Rej_desc rej = { 0 }; in ld_process_archive() local [all …]
|
H A D | files.c | 54 ifl_verify(Ehdr *ehdr, Ofl_desc *ofl, Rej_desc *rej) in ifl_verify() argument 63 rej->rej_type = SGS_REJ_MACH; in ifl_verify() 64 rej->rej_info = (uint_t)ehdr->e_machine; in ifl_verify() 68 rej->rej_type = SGS_REJ_DATA; in ifl_verify() 69 rej->rej_info = (uint_t)ehdr->e_ident[EI_DATA]; in ifl_verify() 73 rej->rej_type = SGS_REJ_VERSION; in ifl_verify() 74 rej->rej_info = (uint_t)ehdr->e_version; in ifl_verify() 86 Rej_desc *rej) in ifl_setup() argument 95 if (rej->rej_type == 0) { in ifl_setup() 96 *rej = _rej; in ifl_setup() [all …]
|
H A D | args.c | 2102 Rej_desc rej = { 0 }; in process_files_com() local 2131 (FLG_IF_CMDLINE | FLG_IF_NEEDED), &rej, NULL); in process_files_com() 2140 if (rej.rej_type) { in process_files_com() 2144 MSG_INTL(reject[rej.rej_type]), in process_files_com() 2145 rej.rej_name ? rej.rej_name : in process_files_com() 2147 conv_reject_desc(&rej, &rej_buf, in process_files_com()
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | cap.c | 128 hwcap1_check(Syscapset *scapset, Xword val, Rej_desc *rej) in hwcap1_check() argument 137 if (rej) { in hwcap1_check() 140 rej->rej_type = SGS_REJ_HWCAP_1; in hwcap1_check() 141 rej->rej_str = conv_cap_val_hw1(mval, in hwcap1_check() 153 hwcap2_check(Syscapset *scapset, Xword val, Rej_desc *rej) in hwcap2_check() argument 161 if (rej) { in hwcap2_check() 164 rej->rej_type = SGS_REJ_HWCAP_2; in hwcap2_check() 165 rej->rej_str = conv_cap_val_hw2(mval, in hwcap2_check() 177 hwcap3_check(Syscapset *scapset, Xword val, Rej_desc *rej) in hwcap3_check() argument 185 if (rej) { in hwcap3_check() [all …]
|
H A D | analyze.c | 842 trace_so(Rt_map *clmp, Rej_desc *rej, const char *name, const char *path, in trace_so() argument 861 if (rej && (rej->rej_type == 0)) { in trace_so() 870 if (rej) { in trace_so() 875 MSG_INTL(ldd_reject[rej->rej_type]), in trace_so() 876 conv_reject_desc(rej, &rej_buf, M_MACH)); in trace_so() 877 if (rej->rej_name) in trace_so() 878 path = rej->rej_name; in trace_so() 885 if (rej->rej_flags & FLG_REJ_ALTER) in trace_so() 1096 Rej_desc *rej) in file_notfound() argument 1114 trace_so(clmp, rej, name, 0, 0, in file_notfound() [all …]
|
H A D | object.c | 159 Rej_desc rej; in elf_obj_file() local 188 (Ofl_desc *)ELFPRV(olmp), &rej) == (Ifl_desc *)S_ERROR) { in elf_obj_file() 200 check_plat_names(Syscapset *scapset, Alist *caps, Rej_desc *rej) in check_plat_names() argument 206 if (platcap_check(scapset, capstr->cs_str, rej) == 1) in check_plat_names() 213 check_mach_names(Syscapset *scapset, Alist *caps, Rej_desc *rej) in check_mach_names() argument 219 if (machcap_check(scapset, capstr->cs_str, rej) == 1) in check_mach_names() 245 Rej_desc rej = { 0 }; in elf_obj_fini() local 268 (hwcap1_check(scapset, omsk, &rej) == 0)) || in elf_obj_fini() 270 (sfcap1_check(scapset, omsk, &rej) == 0)) || in elf_obj_fini() 272 (hwcap2_check(scapset, omsk, &rej) == 0)) || in elf_obj_fini() [all …]
|
H A D | setup.c | 207 Rej_desc rej = { 0 }; in setup() local 468 fd, &rej); in setup() 475 MSG_INTL(err_reject[rej.rej_type]), argvname, in setup() 476 conv_reject_desc(&rej, &rej_buf, M_MACH)); in setup() 779 if (cap_check_lmp(mlmp, &rej) == 0) { in setup() 782 (void) printf(MSG_INTL(ldd_warn[rej.rej_type]), in setup() 783 NAME(mlmp), rej.rej_str); in setup() 787 MSG_INTL(err_reject[rej.rej_type]), in setup() 788 NAME(mlmp), rej.rej_str); in setup()
|
H A D | elf.c | 144 elf_cap_check(Fdesc *fdp, Ehdr *ehdr, Rej_desc *rej) in elf_cap_check() argument 197 return (cap_check_fdesc(fdp, cap, str, rej)); in elf_cap_check() 207 Rej_desc *rej) in elf_verify() argument 231 rej->rej_type = SGS_REJ_CLASS; in elf_verify() 232 rej->rej_info = (uint_t)ehdr->e_ident[EI_CLASS]; in elf_verify() 236 rej->rej_type = SGS_REJ_DATA; in elf_verify() 237 rej->rej_info = (uint_t)ehdr->e_ident[EI_DATA]; in elf_verify() 242 rej->rej_type = SGS_REJ_TYPE; in elf_verify() 243 rej->rej_info = (uint_t)ehdr->e_type; in elf_verify() 251 rej->rej_type = SGS_REJ_VERSION; in elf_verify() [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | sparc_elf.c | 56 elf_mach_flags_check(Rej_desc *rej, Ehdr *ehdr) in elf_mach_flags_check() argument 63 rej->rej_type = SGS_REJ_MACH; in elf_mach_flags_check() 64 rej->rej_info = (uint_t)ehdr->e_machine; in elf_mach_flags_check() 68 rej->rej_type = SGS_REJ_MISFLAG; in elf_mach_flags_check() 69 rej->rej_info = (uint_t)ehdr->e_flags; in elf_mach_flags_check() 73 rej->rej_type = SGS_REJ_BADFLAG; in elf_mach_flags_check() 74 rej->rej_info = (uint_t)ehdr->e_flags; in elf_mach_flags_check() 78 rej->rej_type = SGS_REJ_BADFLAG; in elf_mach_flags_check() 79 rej->rej_info = (uint_t)ehdr->e_flags; in elf_mach_flags_check()
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | sparc_elf.c | 57 elf_mach_flags_check(Rej_desc *rej, Ehdr *ehdr) in elf_mach_flags_check() argument 67 rej->rej_type = SGS_REJ_HAL; in elf_mach_flags_check() 68 rej->rej_info = (uint_t)ehdr->e_flags; in elf_mach_flags_check() 72 rej->rej_type = SGS_REJ_US3; in elf_mach_flags_check() 73 rej->rej_info = (uint_t)ehdr->e_flags; in elf_mach_flags_check() 83 rej->rej_type = SGS_REJ_BADFLAG; in elf_mach_flags_check() 84 rej->rej_info = (uint_t)ehdr->e_flags; in elf_mach_flags_check() 88 rej->rej_type = SGS_REJ_BADFLAG; in elf_mach_flags_check() 89 rej->rej_info = (uint_t)ehdr->e_flags; in elf_mach_flags_check()
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | files.c | 685 Dbg_file_rejected(Lm_list *lml, Rej_desc *rej, Half mach) in Dbg_file_rejected() argument 693 dbg_print(lml, MSG_INTL(reject[rej->rej_type]), rej->rej_name ? in Dbg_file_rejected() 694 rej->rej_name : MSG_INTL(MSG_STR_UNKNOWN), in Dbg_file_rejected() 695 conv_reject_desc(rej, &rej_buf, mach)); in Dbg_file_rejected()
|
/illumos-gate/usr/src/uts/common/sys/ib/ibtl/ |
H A D | ibti_cm.h | 528 ibt_arej_info_t rej; /* Return for REJ */ member 552 ibt_arej_info_t rej; /* Return for REJ */ member
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | elf.c | 1188 conv_reject_desc(Rej_desc * rej, Conv_reject_desc_buf_t *reject_desc_buf, in conv_reject_desc() argument 1191 ushort_t type = rej->rej_type; in conv_reject_desc() 1192 uint_t info = rej->rej_info; in conv_reject_desc() 1224 if (rej->rej_str) in conv_reject_desc() 1225 return ((const char *)rej->rej_str); in conv_reject_desc()
|
/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, in srpt_format_login_rej() argument 1629 rej->lrej_type = SRP_IU_LOGIN_REJ; in srpt_format_login_rej() 1630 rej->lrej_reason = h2b32(reason); in srpt_format_login_rej() 1631 rej->lrej_tag = req->lreq_tag; in srpt_format_login_rej() 1632 rej->lrej_sup_buf_format = in srpt_format_login_rej()
|
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | amd64_elf.c | 52 elf_mach_flags_check(Rej_desc *rej, Ehdr *ehdr) in elf_mach_flags_check() argument 58 rej->rej_type = SGS_REJ_BADFLAG; in elf_mach_flags_check() 59 rej->rej_info = (uint_t)ehdr->e_flags; in elf_mach_flags_check()
|
/illumos-gate/usr/src/cmd/sgs/rtld/i386/ |
H A D | i386_elf.c | 55 elf_mach_flags_check(Rej_desc *rej, Ehdr *ehdr) in elf_mach_flags_check() argument 61 rej->rej_type = SGS_REJ_BADFLAG; in elf_mach_flags_check() 62 rej->rej_info = (uint_t)ehdr->e_flags; in elf_mach_flags_check()
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | term.c | 922 static const char rej[] = { '\\', ASCII_NBRSP, ASCII_HYPH, in term_strlen() local 934 rsz = strcspn(cp, rej); in term_strlen()
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_sm.c | 6665 h2b64(clnt_info->reply_event->rej.ari_gid.gid_guid); in ibcm_process_cep_req_cm_hdlr() 6667 h2b64(clnt_info->reply_event->rej.ari_gid.gid_prefix); in ibcm_process_cep_req_cm_hdlr() 6679 &clnt_info->reply_event->rej.ari_redirect); in ibcm_process_cep_req_cm_hdlr() 6688 clnt_info->reply_event->rej.ari_consumer.rej_ari_len, in ibcm_process_cep_req_cm_hdlr() 6690 bcopy(clnt_info->reply_event->rej.ari_consumer.rej_ari, in ibcm_process_cep_req_cm_hdlr() 6958 min(clnt_info->reply_event->rej.ari_consumer.rej_ari_len, in ibcm_process_cep_rep_cm_hdlr() 6961 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(clnt_info->reply_event->rej)) in ibcm_process_cep_rep_cm_hdlr() 6964 bcopy(clnt_info->reply_event->rej.ari_consumer.rej_ari, in ibcm_process_cep_rep_cm_hdlr() 6967 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(clnt_info->reply_event->rej)) in ibcm_process_cep_rep_cm_hdlr()
|