/titanic_44/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 | 379 const char *arpath, Rej_desc *rej) in ar_input() argument 393 if (rej->rej_type == 0) { in ar_input() 394 rej->rej_type = _rej.rej_type; in ar_input() 395 rej->rej_info = _rej.rej_info; in ar_input() 396 rej->rej_name = arpath; in ar_input() 454 Ofl_desc *ofl, Boolean *found, Rej_desc *rej) in ar_extract_bysym() argument 685 rej)) { in ar_extract_bysym() 731 Boolean *found, Rej_desc *rej) in ar_extract_all() argument 791 switch (ar_input(fd, adp, ofl, arelf, arpath, rej)) { in ar_extract_all() 831 Rej_desc rej = { 0 }; in ld_process_archive() local [all …]
|
H A D | files.c | 53 ifl_verify(Ehdr *ehdr, Ofl_desc *ofl, Rej_desc *rej) in ifl_verify() argument 62 rej->rej_type = SGS_REJ_MACH; in ifl_verify() 63 rej->rej_info = (uint_t)ehdr->e_machine; in ifl_verify() 67 rej->rej_type = SGS_REJ_DATA; in ifl_verify() 68 rej->rej_info = (uint_t)ehdr->e_ident[EI_DATA]; in ifl_verify() 72 rej->rej_type = SGS_REJ_VERSION; in ifl_verify() 73 rej->rej_info = (uint_t)ehdr->e_version; in ifl_verify() 85 Rej_desc *rej) in ifl_setup() argument 94 if (rej->rej_type == 0) { in ifl_setup() 95 *rej = _rej; in ifl_setup() [all …]
|
H A D | args.c | 1995 Rej_desc rej = { 0 }; in process_files_com() local 2024 (FLG_IF_CMDLINE | FLG_IF_NEEDED), &rej, NULL); in process_files_com() 2033 if (rej.rej_type) { in process_files_com() 2037 MSG_INTL(reject[rej.rej_type]), in process_files_com() 2038 rej.rej_name ? rej.rej_name : in process_files_com() 2040 conv_reject_desc(&rej, &rej_buf, in process_files_com()
|
/titanic_44/usr/src/cmd/sgs/rtld/common/ |
H A D | cap.c | 117 hwcap1_check(Syscapset *scapset, Xword val, Rej_desc *rej) in hwcap1_check() argument 126 if (rej) { in hwcap1_check() 129 rej->rej_type = SGS_REJ_HWCAP_1; in hwcap1_check() 130 rej->rej_str = conv_cap_val_hw1(mval, in hwcap1_check() 142 hwcap2_check(Syscapset *scapset, Xword val, Rej_desc *rej) in hwcap2_check() argument 150 if (rej) { in hwcap2_check() 153 rej->rej_type = SGS_REJ_HWCAP_2; in hwcap2_check() 154 rej->rej_str = conv_cap_val_hw2(mval, in hwcap2_check() 167 sfcap1_check(Syscapset *scapset, Xword val, Rej_desc *rej) in sfcap1_check() argument 177 if (rej) { in sfcap1_check() [all …]
|
H A D | analyze.c | 843 trace_so(Rt_map *clmp, Rej_desc *rej, const char *name, const char *path, in trace_so() argument 862 if (rej && (rej->rej_type == 0)) { in trace_so() 871 if (rej) { in trace_so() 876 MSG_INTL(ldd_reject[rej->rej_type]), in trace_so() 877 conv_reject_desc(rej, &rej_buf, M_MACH)); in trace_so() 878 if (rej->rej_name) in trace_so() 879 path = rej->rej_name; in trace_so() 886 if (rej->rej_flags & FLG_REJ_ALTER) in trace_so() 1097 Rej_desc *rej) in file_notfound() argument 1115 trace_so(clmp, rej, name, 0, 0, in file_notfound() [all …]
|
H A D | object.c | 161 Rej_desc rej; in elf_obj_file() local 190 (Ofl_desc *)ELFPRV(olmp), &rej) == (Ifl_desc *)S_ERROR) { in elf_obj_file() 202 check_plat_names(Syscapset *scapset, Alist *caps, Rej_desc *rej) in check_plat_names() argument 208 if (platcap_check(scapset, capstr->cs_str, rej) == 1) in check_plat_names() 215 check_mach_names(Syscapset *scapset, Alist *caps, Rej_desc *rej) in check_mach_names() argument 221 if (machcap_check(scapset, capstr->cs_str, rej) == 1) in check_mach_names() 247 Rej_desc rej = { 0 }; in elf_obj_fini() local 270 (hwcap1_check(scapset, omsk, &rej) == 0)) || in elf_obj_fini() 272 (sfcap1_check(scapset, omsk, &rej) == 0)) || in elf_obj_fini() 274 (hwcap2_check(scapset, omsk, &rej) == 0)) || in elf_obj_fini() [all …]
|
H A D | setup.c | 209 Rej_desc rej = { 0 }; in setup() local 469 fd, &rej); in setup() 476 MSG_INTL(err_reject[rej.rej_type]), argvname, in setup() 477 conv_reject_desc(&rej, &rej_buf, M_MACH)); in setup() 839 if (cap_check_lmp(mlmp, &rej) == 0) { in setup() 842 (void) printf(MSG_INTL(ldd_warn[rej.rej_type]), in setup() 843 NAME(mlmp), rej.rej_str); in setup() 847 MSG_INTL(err_reject[rej.rej_type]), in setup() 848 NAME(mlmp), rej.rej_str); in setup()
|
H A D | elf.c | 170 elf_cap_check(Fdesc *fdp, Ehdr *ehdr, Rej_desc *rej) in elf_cap_check() argument 223 return (cap_check_fdesc(fdp, cap, str, rej)); in elf_cap_check() 233 Rej_desc *rej) in elf_verify() argument 257 rej->rej_type = SGS_REJ_CLASS; in elf_verify() 258 rej->rej_info = (uint_t)ehdr->e_ident[EI_CLASS]; in elf_verify() 262 rej->rej_type = SGS_REJ_DATA; in elf_verify() 263 rej->rej_info = (uint_t)ehdr->e_ident[EI_DATA]; in elf_verify() 268 rej->rej_type = SGS_REJ_TYPE; in elf_verify() 269 rej->rej_info = (uint_t)ehdr->e_type; in elf_verify() 277 rej->rej_type = SGS_REJ_VERSION; in elf_verify() [all …]
|
H A D | a.out.c | 167 Rej_desc *rej) in aout_verify() argument
|
/titanic_44/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()
|
/titanic_44/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()
|
/titanic_44/usr/src/cmd/sgs/liblddbg/common/ |
H A D | files.c | 692 Dbg_file_rejected(Lm_list *lml, Rej_desc *rej, Half mach) in Dbg_file_rejected() argument 700 dbg_print(lml, MSG_INTL(reject[rej->rej_type]), rej->rej_name ? in Dbg_file_rejected() 701 rej->rej_name : MSG_INTL(MSG_STR_UNKNOWN), in Dbg_file_rejected() 702 conv_reject_desc(rej, &rej_buf, mach)); in Dbg_file_rejected()
|
/titanic_44/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
|
/titanic_44/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, in conv_reject_desc() argument 929 ushort_t type = rej->rej_type; in conv_reject_desc() 930 uint_t info = rej->rej_info; in conv_reject_desc() 960 if (rej->rej_str) in conv_reject_desc() 961 return ((const char *)rej->rej_str); in conv_reject_desc()
|
/titanic_44/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()
|
/titanic_44/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()
|
/titanic_44/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()
|
/titanic_44/usr/src/cmd/mandoc/ |
H A D | term.c | 647 static const char rej[] = { '\\', ASCII_HYPH, ASCII_NBRSP, '\0' }; in term_strlen() local 658 rsz = strcspn(cp, rej); in term_strlen()
|
/titanic_44/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_sm.c | 6674 h2b64(clnt_info->reply_event->rej.ari_gid.gid_guid); in ibcm_process_cep_req_cm_hdlr() 6676 h2b64(clnt_info->reply_event->rej.ari_gid.gid_prefix); in ibcm_process_cep_req_cm_hdlr() 6688 &clnt_info->reply_event->rej.ari_redirect); in ibcm_process_cep_req_cm_hdlr() 6697 clnt_info->reply_event->rej.ari_consumer.rej_ari_len, in ibcm_process_cep_req_cm_hdlr() 6699 bcopy(clnt_info->reply_event->rej.ari_consumer.rej_ari, in ibcm_process_cep_req_cm_hdlr() 6967 min(clnt_info->reply_event->rej.ari_consumer.rej_ari_len, in ibcm_process_cep_rep_cm_hdlr() 6970 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(clnt_info->reply_event->rej)) in ibcm_process_cep_rep_cm_hdlr() 6973 bcopy(clnt_info->reply_event->rej.ari_consumer.rej_ari, in ibcm_process_cep_rep_cm_hdlr() 6976 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(clnt_info->reply_event->rej)) in ibcm_process_cep_rep_cm_hdlr()
|