/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_ENOSPC/ |
H A D | zvol_ENOSPC_001_pos.ksh | 61 typeset -i retval=0 69 retval=$? 70 if (( $retval != 0 )); then 77 (( $retval != $ENOSPC )) && 78 log_fail "ENOSPC was not returned, $retval was received instead"
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | encode_kdc.c | 53 krb5_error_code retval; local 89 retval = encode_krb5_enc_kdc_rep_part(&tmp_encpart, &scratch); 90 if (retval) { 91 return retval; 98 retval = krb5_encrypt_helper(context, client_key, usage, scratch, 110 if (retval) 111 return(retval); 117 retval = encode_krb5_as_rep(dec_rep, enc_rep); 120 retval = encode_krb5_tgs_rep(dec_rep, enc_rep); 124 if (retval) [all...] |
H A D | mk_rep.c | 45 krb5_error_code retval; local 55 if ((retval = krb5_generate_seq_number(context, auth_context->keyblock, 57 return(retval); 63 retval = krb5int_generate_and_save_subkey (context, auth_context, 65 if (retval) 66 return retval; 73 if ((retval = encode_krb5_ap_rep_enc_part(&repl, &scratch))) 74 return retval; 76 if ((retval = krb5_encrypt_helper(context, auth_context->keyblock, 81 if (!(retval [all...] |
H A D | rd_req.c | 58 krb5_error_code retval; local 65 if ((retval = decode_krb5_ap_req(inbuf, &request))) { 66 switch (retval) { 70 return(retval); 77 if ((retval = krb5_auth_con_init(context, &new_auth_context))) 89 if ((retval = krb5_get_server_rcache(context, 96 if ((retval = krb5_kt_default(context, &new_keytab))) 101 retval = krb5_rd_req_decoded(context, auth_context, request, server, 108 if (new_auth_context && retval) { 115 return retval; [all...] |
H A D | decrypt_tk.c | 48 krb5_error_code retval; local 58 if ((retval = krb5_c_decrypt(context, srv_key, 62 return retval; 69 retval = decode_krb5_enc_tkt_part(&scratch, &dec_tkt_part); 70 if (!retval) { 74 return retval;
|
H A D | kdc_rep_dc.c | 42 krb5_error_code retval; local 62 if ((retval = krb5_c_decrypt(context, key, usage, 0, &dec_rep->enc_part, 65 return(retval); 72 retval = decode_krb5_enc_kdc_rep_part(&scratch, &local_encpart); 74 if (retval) 75 return retval;
|
H A D | rd_req_dec.c | 75 krb5_error_code retval; local 83 if ((retval = krb5_kt_get_entry(context, keytab, req->ticket->server, 86 return retval; 97 retval = krb5_decrypt_tkt_part(context, &ktent.key, req->ticket); 100 if (retval == KRB5KRB_AP_ERR_BAD_INTEGRITY) { 106 krb5_set_error_message(context, retval, 117 return retval; 130 krb5_error_code retval; local 132 retval = krb5_timeofday(context, ¤ttime); 133 if (retval) 151 krb5_error_code retval = 0; local 507 krb5_error_code retval; local 522 krb5_error_code retval; local 536 krb5_error_code retval; local 569 krb5_error_code retval; local [all...] |
H A D | rd_rep.c | 47 krb5_error_code retval; local 56 if ((retval = decode_krb5_ap_rep(inbuf, &reply))) 57 return retval; 67 if ((retval = krb5_c_decrypt(context, auth_context->keyblock, 73 retval = decode_krb5_ap_rep_enc_part(&scratch, repl); 74 if (retval) 80 retval = KRB5_MUTUAL_FAILED; 90 retval = krb5_copy_keyblock(context, (*repl)->subkey, 92 if (retval) 98 retval [all...] |
H A D | valid_times.c | 42 krb5_error_code retval; local 44 if ((retval = krb5_timeofday(context, ¤ttime))) 45 return retval;
|
H A D | appdefault.c | 43 krb5_error_code retval; local 69 retval = profile_get_values(profile, names, &nameval); 70 if (retval == 0 && nameval && nameval[0]) { 87 retval = profile_get_values(profile, names, &nameval); 88 if (retval == 0 && nameval && nameval[0]) { 105 retval = profile_get_values(profile, names, &nameval); 106 if (retval == 0 && nameval && nameval[0]) { 121 retval = profile_get_values(profile, names, &nameval); 122 if (retval == 0 && nameval && nameval[0]) { 125 return retval; 142 krb5_error_code retval; local 156 krb5_error_code retval; local [all...] |
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | dispatch.c | 50 krb5_error_code retval; local 75 retval = krb5_crypto_us_timeofday(&now, &now_usec); 76 if (retval == 0) { 98 retval = process_tgs_req(pkt, from, response); 100 if (!(retval = decode_krb5_as_req(pkt, &as_req))) { 105 if (!(retval = setup_server_realm(as_req->server))) { 106 retval = process_as_req(as_req, pkt, from, response); 113 retval = process_v4(pkt, from, response); 116 retval = KRB5KRB_AP_ERR_MSG_TYPE; 119 if (!retval) [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_profile.c | 100 krb5_error_code retval; local 121 retval = profile_get_values(profile, names, &values); 122 if (retval == 0 && values != NULL) 136 retval = profile_get_values(profile, names, &values); 137 if (retval == 0 && values != NULL) 142 retval = ENOENT; 146 return retval; 154 krb5_error_code retval; local 157 retval = pkinit_kdcdefault_strings(context, realmname, option, &values); 158 if (retval) 183 krb5_error_code retval; local 201 krb5_error_code retval; local 237 krb5_error_code retval; local 318 krb5_error_code retval; local 345 krb5_error_code retval; local 364 krb5_error_code retval; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | get_krbhst.c | 66 krb5_error_code retval; local 80 retval = profile_get_values(context->profile, realm_kdc_names, &values); 81 if (retval == PROF_NO_SECTION) 83 if (retval == PROF_NO_RELATION) 85 if (retval) 86 return retval; 106 retval = ENOMEM; 113 retval = ENOMEM; 120 if (retval && rethosts) { 128 return retval; [all...] |
H A D | ustime.c | 41 krb5_error_code retval; local 48 retval = krb5_crypto_us_timeofday(&sec, &usec); 49 if (retval) 50 return retval;
|
/illumos-gate/usr/src/cmd/cmd-inet/common/ |
H A D | store_forw_creds.c | 50 krb5_error_code retval; local 67 if ((retval = krb5_cc_resolve(context, ccname, ccache)) != 0) { 68 krb5_set_error_message(context, retval, 73 if ((retval = krb5_cc_initialize(context, *ccache, 75 krb5_set_error_message(context, retval, 80 if ((retval = krb5_cc_store_cred(context, *ccache, *creds)) != 0) { 81 krb5_set_error_message(context, retval, 86 if ((retval = krb5_cc_close(context, *ccache)) != 0) 90 if ((retval = krb5_unparse_name(context, (*creds)->client, 105 return (retval); [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_get.c | 130 errcode_t retval; local 135 if ((retval = profile_node_iterator_create(profile, names, 138 return retval; 140 if ((retval = init_list(&values))) 141 return retval; 144 if ((retval = profile_node_iterator(&state, 0, 0, &value))) 151 retval = PROF_NO_RELATION; 160 return retval; 170 errcode_t retval; local 174 if ((retval 198 errcode_t retval; local 229 errcode_t retval; local 310 errcode_t retval; local 340 errcode_t retval; local 376 errcode_t retval; local 421 errcode_t retval; local [all...] |
H A D | prof_file.c | 198 errcode_t retval; local 204 retval = CALL_INIT_FUNCTION(profile_library_initializer); 205 if (retval) 206 return retval; 243 retval = k5_mutex_lock(&g_shared_trees_mutex); 244 if (retval) { 248 return retval; 260 retval = profile_update_file_data(data); 265 return retval; 277 retval 309 errcode_t retval; local 412 errcode_t retval = 0; local 494 errcode_t retval; local 505 errcode_t retval = 0; local 526 errcode_t retval = 0; local 608 errcode_t retval; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | krb5_decode.c | 38 asn1_error_code retval;\ 41 retval = asn1buf_wrap_data(&buf,code);\ 42 if(retval) return retval 58 #define clean_return(val) { retval = val; goto error_out; } 70 retval = asn1_get_tag_2(&buf, &t1); \ 71 if (retval) clean_return (retval); \ 87 retval = asn1_get_tag_2(&subbuf, &t2); \ 88 if(retval) clean_retur [all...] |
/illumos-gate/usr/src/cmd/oamuser/group/ |
H A D | groupdel.c | 55 int retval = 0; local 64 switch (retval = del_group(group)) { 73 return (retval);
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | secmod.c | 54 int retval = 0; local 59 if ((retval = mod_install(&modlinkage)) != 0) { 68 return (retval);
|
/illumos-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | rpcsec_gssmod.c | 46 int retval = 0; local 55 if ((retval = mod_install(&modlinkage)) != 0) { 60 return (retval);
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rename_dirs/ |
H A D | rename_dirs_001_pos.ksh | 64 typeset -i retval=1 66 retval=$? 67 if (( $retval == 0 )); then
|
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/ |
H A D | kadmin_rmt.c | 51 krb5_error_code retval; local 59 retval = kadm5_get_privs(handle, &plist); 60 if (retval) { 61 com_err("get_privs", retval,
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/ |
H A D | init_os_ctx.c | 127 krb5_error_code retval = 0; local 156 retval = ENOMEM; 173 if (retval && *pbuffer) 179 return retval; 205 krb5_error_code retval = 0; local 221 retval = get_from_registry(&name, HKEY_CURRENT_USER); 222 if (retval) return retval; 227 retval = get_from_registry(&name, HKEY_LOCAL_MACHINE); 228 if (retval) retur 342 krb5_error_code retval = 0; local 394 krb5_error_code retval = 0; local 450 krb5_error_code retval; local 489 krb5_error_code retval; local [all...] |
/illumos-gate/usr/src/cmd/krb5/slave/ |
H A D | kprop.c | 109 krb5_error_code retval; local 124 retval = krb5_init_context(&context); 125 if (retval) { 126 com_err(argv[0], retval, gettext("while initializing krb5")); 133 retval = open_connection(slave_host, &fd, Errmsg, sizeof(Errmsg)); 134 if (retval) { 135 com_err(progname, retval, gettext("%s while opening connection to %s"), 209 krb5_error_code retval; local 229 retval = krb5_get_default_realm(context, &def_realm); 230 if (retval) { 378 krb5_error_code retval; local 490 krb5_error_code retval; local 642 krb5_error_code retval; local [all...] |