Home
last modified time | relevance | path

Searched refs:errcode (Results 1 – 25 of 69) sorted by relevance

123

/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Ddo_as_req.c68 krb5_error_code errcode; in process_as_req() local
113 errcode = KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN; in process_as_req()
116 if ((errcode = krb5_unparse_name(kdc_context, request->client, &cname))) { in process_as_req()
123 errcode = KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN; in process_as_req()
126 if ((errcode = krb5_unparse_name(kdc_context, request->server, &sname))) { in process_as_req()
133 if ((errcode = krb5_db_get_principal(kdc_context, request->client, in process_as_req()
141 errcode = KRB5KDC_ERR_PRINCIPAL_NOT_UNIQUE; in process_as_req()
146 errcode = KRB5KRB_ERR_GENERIC; in process_as_req()
148 errcode = KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN; in process_as_req()
154 if ((errcode = krb5_db_get_principal(kdc_context, request->server, &server, in process_as_req()
[all …]
H A Ddo_tgs_req.c91 int errcode, errcode2; in process_tgs_req() local
121 if ((errcode = krb5_unparse_name(kdc_context, request->server, &sname))) { in process_tgs_req()
128 errcode = kdc_process_tgs_req(request, from, pkt, &header_ticket, &subkey); in process_tgs_req()
135 errcode = errcode2; in process_tgs_req()
140 if (errcode) { in process_tgs_req()
146 errcode = KRB5_NO_TKT_SUPPLIED; /* XXX? */ in process_tgs_req()
163 if ((errcode = krb5_db_get_principal(kdc_context, request->server, &server, in process_tgs_req()
172 errcode = KRB5KDC_ERR_PRINCIPAL_NOT_UNIQUE; in process_tgs_req()
198 errcode = KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN; in process_tgs_req()
202 if ((errcode = krb5_timeofday(kdc_context, &kdc_time))) { in process_tgs_req()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dprompter.c41 krb5_error_code errcode; in krb5_prompter_posix() local
45 errcode = KRB5_LIBOS_CANTREADPWD; in krb5_prompter_posix()
70 errcode = KRB5_LIBOS_CANTREADPWD; in krb5_prompter_posix()
75 errcode = setup_tty(fp, prompts[i].hidden, &saveparm, &osigint); in krb5_prompter_posix()
76 if (errcode) in krb5_prompter_posix()
92 errcode = KRB5_LIBOS_PWDINTR; in krb5_prompter_posix()
94 errcode = KRB5_LIBOS_CANTREADPWD; in krb5_prompter_posix()
110 errcode = restore_tty(fp, &saveparm, &osigint); in krb5_prompter_posix()
111 if (errcode) in krb5_prompter_posix()
121 return errcode; in krb5_prompter_posix()
[all …]
H A Dread_pwd.c130 krb5_error_code errcode = 0; in read_console_password() local
151 errcode = KRB5_LIBOS_CANTREADPWD; in read_console_password()
165 errcode = ENOMEM; in read_console_password()
172 errcode = KRB5_LIBOS_CANTREADPWD; in read_console_password()
185 errcode = KRB5_LIBOS_BADPWDMATCH; in read_console_password()
196 if (errcode) in read_console_password()
200 return errcode; in read_console_password()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_slp.c567 errcode = netval; \
569 errcode, slpv2_error(errcode)); \
572 if (errcode != OK) \
574 if (errcode != OK) \
600 errcode = netval; \
601 sprintf(get_line(0, 0), "Error code = %d, %s", errcode, \
602 slpv1_error(errcode)); \
605 if (errcode != OK) \
1137 unsigned short itemcnt, errcode; in v2_srv_rply() local
1143 GETSHORT(errcode); in v2_srv_rply()
[all …]
/titanic_41/usr/src/cmd/sed/
H A Dmisc.c54 strregerror(int errcode, regex_t *preg) in strregerror() argument
61 s = regerror(errcode, preg, NULL, 0); in strregerror()
64 (void) regerror(errcode, preg, oe, s); in strregerror()
/titanic_41/usr/src/grub/grub-0.97/netboot/
H A D3c90x.c604 int i, errcode; in a3c90x_poll() local
635 errcode = INF_3C90X.ReceiveUPD.UpPktStatus; in a3c90x_poll()
636 if (errcode & (1<<16)) in a3c90x_poll()
637 printf("3C90X: Rx Overrun (%hX)\n",errcode>>16); in a3c90x_poll()
638 else if (errcode & (1<<17)) in a3c90x_poll()
639 printf("3C90X: Runt Frame (%hX)\n",errcode>>16); in a3c90x_poll()
640 else if (errcode & (1<<18)) in a3c90x_poll()
641 printf("3C90X: Alignment Error (%hX)\n",errcode>>16); in a3c90x_poll()
642 else if (errcode & (1<<19)) in a3c90x_poll()
643 printf("3C90X: CRC Error (%hX)\n",errcode>>16); in a3c90x_poll()
[all …]
H A Dtftp.h49 uint16_t errcode; member
70 uint16_t errcode; member
H A Dfsys_tftp.c145 ntohs(tr->u.err.errcode), in tftp_file_read()
173 tp.u.err.errcode = 8; in tftp_file_read()
178 len = sizeof(tp.ip) + sizeof(tp.udp) + sizeof(tp.opcode) + sizeof(tp.u.err.errcode) + in tftp_file_read()
294 ntohs (tr->u.err.errcode), in buf_fill()
350 tp.u.err.errcode = 8; in buf_fill()
354 + sizeof (tp.opcode) + sizeof (tp.u.err.errcode) in buf_fill()
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dbsd-cray.c92 cray_login_failure(char *username, int errcode) in cray_login_failure() argument
116 fsent.errcode = errcode; in cray_login_failure()
136 int errcode; /* IA errorcode */ in cray_access_denied() local
138 errcode = 0; in cray_access_denied()
145 errcode = IA_DISABLED; in cray_access_denied()
146 if (errcode) in cray_access_denied()
147 cray_login_failure(username, errcode); in cray_access_denied()
148 return (errcode); in cray_access_denied()
402 fsent.errcode = ia_rcode; in cray_setup()
438 fsent.errcode = ia_mlsrcode; in cray_setup()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c126 int errcode; in tftp_sendfile() local
202 errcode = process_oack(&ackbuf, n); in tftp_sendfile()
203 if (errcode >= 0) { in tftp_sendfile()
204 nak(errcode); in tftp_sendfile()
253 int errcode; in tftp_recvfile() local
329 errcode = process_oack((tftpbuf *)dp, n); in tftp_recvfile()
330 if (errcode >= 0) { in tftp_recvfile()
332 nak(errcode); in tftp_recvfile()
588 int i, errcode; in process_oack() local
606 errcode = options[i].opt_handler(optval); in process_oack()
[all …]
/titanic_41/usr/src/common/bzip2/
H A Dbzlib_private.h62 extern void BZ2_bz__AssertH__fail ( int errcode );
63 #define AssertH(cond,errcode) \ argument
64 { if (!(cond)) BZ2_bz__AssertH__fail ( errcode ); }
93 extern void bz_internal_error ( int errcode );
94 #define AssertH(cond,errcode) \ argument
95 { if (!(cond) && &bz_internal_error != NULL) bz_internal_error ( errcode ); }
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dvlistctrl.c188 int i, foundListControl, errcode; in ldap_parse_virtuallist_control() local
230 &errcode ) ) { in ldap_parse_virtuallist_control()
246 *errcodep = errcode; in ldap_parse_virtuallist_control()
H A Derror.c490 int err, errcode; in ldap_parse_result() local
514 err = nsldapi_parse_result( ld, lm->lm_msgtype, lm->lm_ber, &errcode, in ldap_parse_result()
519 *errcodep = errcode; in ldap_parse_result()
547 LDAP_SET_LDERRNO( ld, ( err == LDAP_SUCCESS ) ? errcode : err, m, e ); in ldap_parse_result()
564 int berrc, err, errcode; in nsldapi_parse_result() local
611 errcode = (int)along; /* XXX lossy cast */ in nsldapi_parse_result()
615 errcode = (int)along; /* XXX lossy cast */ in nsldapi_parse_result()
667 *errcodep = errcode; in nsldapi_parse_result()
/titanic_41/usr/src/lib/libpkg/common/
H A Dpkgweb.c847 unsigned long errcode; in validate_signature() local
943 while ((errcode = ERR_get_error_line_data(NULL, in validate_signature()
947 ERR_reason_error_string(errcode); in validate_signature()
982 while ((errcode = ERR_get_error_line_data(NULL, in validate_signature()
985 ERR_reason_error_string(errcode); in validate_signature()
1218 unsigned long errcode; in ocsp_verify() local
1499 while ((errcode = ERR_get_error()) != NULL) { in ocsp_verify()
1500 err_reason = ERR_reason_error_string(errcode); in ocsp_verify()
1716 ulong_t errcode; in web_connect() local
1765 while ((errcode = http_get_lasterr(ps->hps, &errsrc)) != 0) { in web_connect()
[all …]
/titanic_41/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c508 kmfh->lasterr.errcode = ckRv; in PKCS_VerifyData()
522 kmfh->lasterr.errcode = ckRv; in PKCS_VerifyData()
533 kmfh->lasterr.errcode = ckRv; in PKCS_VerifyData()
599 kmfh->lasterr.errcode = ckRv; in PKCS_EncryptData()
630 kmfh->lasterr.errcode = ckRv; in PKCS_EncryptData()
641 kmfh->lasterr.errcode = ckRv; in PKCS_EncryptData()
658 kmfh->lasterr.errcode = ckRv; in PKCS_EncryptData()
671 kmfh->lasterr.errcode = ckRv; in PKCS_EncryptData()
812 kmfh->lasterr.errcode = ckrv; in PKCS_DigestData()
821 kmfh->lasterr.errcode = ckrv; in PKCS_DigestData()
/titanic_41/usr/src/lib/libc/port/locale/
H A Dregerror.c88 regerror(int errcode, const regex_t *_RESTRICT_KYWD preg, in regerror() argument
96 if (r->code == errcode) in regerror()
/titanic_41/usr/src/cmd/smbsrv/dtrace/
H A Dcifs.d66 sr->smb_error.errcls, sr->smb_error.errcode);
86 sr->smb_error.errcls, sr->smb_error.errcode);
122 sr->smb_error.errcls, sr->smb_error.errcode);
155 sr->smb_error.errcls, sr->smb_error.errcode);
H A Dstype.d81 sr->smb_error.errcls, sr->smb_error.errcode);
112 sr->smb_error.errcls, sr->smb_error.errcode);
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_strerror.c173 nfs_strerror(int errcode) in nfs_strerror() argument
177 switch (errcode) { in nfs_strerror()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c565 blksize_handler(int opcode, char *optval, int *errcode) in blksize_handler() argument
570 *errcode = -1; in blksize_handler()
594 timeout_handler(int opcode, char *optval, int *errcode) in timeout_handler() argument
599 *errcode = -1; in timeout_handler()
623 tsize_handler(int opcode, char *optval, int *errcode) in tsize_handler() argument
628 *errcode = -1; in tsize_handler()
644 *errcode = ENOSPACE; in tsize_handler()
664 int i, errcode; in process_options() local
699 ostr = options[i].opt_handler(opcode, optval, &errcode); in process_options()
711 } else if (errcode >= 0) { in process_options()
[all …]
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_nt_transact_notify_change.c237 err.errcode = ERROR_NOTIFY_ENUM_DIR; in smb_nt_transact_notify_change()
245 err.errcode = ERROR_OPERATION_ABORTED; in smb_nt_transact_notify_change()
254 err.errcode = ERROR_INTERNAL_ERROR; in smb_nt_transact_notify_change()
H A Dsmb_dispatch.c952 int errcode; member
997 err->errcode = smb_errno_map[i].errcode; in smbsr_map_errno()
1004 err->errcode = ERROR_INTERNAL_ERROR; in smbsr_map_errno()
1018 smbsr_status(smb_request_t *sr, DWORD status, uint16_t errcls, uint16_t errcode) in smbsr_status() argument
1022 sr->smb_error.errcode = errcode; in smbsr_status()
1048 if ((err->errcls == 0) && (err->errcode == 0)) { in smbsr_set_error()
1060 if ((err->errcls == 0) || (err->errcode == 0)) { in smbsr_set_error()
1065 sr->smb_err = (uint16_t)err->errcode; in smbsr_set_error()
/titanic_41/usr/src/uts/i86pc/os/
H A Dtrap.c474 faultcode_t pagefault(), res, errcode; in trap()
498 errcode = rp->r_err; in trap()
499 if (errcode & PF_ERR_WRITE) in trap()
502 (mmu.pt_nx != 0 && (errcode & PF_ERR_EXEC))) in trap()
511 if ((errcode & PF_ERR_PROT) && pentiumpro_bug4046376) { in trap()
519 errcode &= ~PF_ERR_PROT; in trap()
521 priv_violation = (errcode & PF_ERR_USER) && in trap()
523 access_violation = (errcode & PF_ERR_WRITE) && in trap()
636 if (errcode & PF_ERR_EXEC) { in trap()
657 (errcode & PF_ERR_PROT)? F_PROT: F_INVAL, rw, 0); in trap()
[all …]
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c324 int errcode; in unmount_client() local
390 (errcode = WEXITSTATUS(status))) { in unmount_client()
393 fs_tab[n]->name, errcode); in unmount_client()
444 int errcode; in mount_client() local
517 (errcode = WEXITSTATUS(status))) { in mount_client()
521 fs_tab[n]->name, errcode); in mount_client()

123