Home
last modified time | relevance | path

Searched refs:minor_status (Results 1 – 25 of 107) sorted by relevance

12345

/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dkrb5_gss_glue.c545 k5glue_accept_sec_context(ctx, minor_status, context_handle, verifier_cred_handle, in k5glue_accept_sec_context() argument
549 OM_uint32 *minor_status;
561 return(krb5_gss_accept_sec_context(minor_status,
575 k5glue_acquire_cred(ctx, minor_status, desired_name, time_req, desired_mechs, in k5glue_acquire_cred() argument
578 OM_uint32 *minor_status;
587 return(krb5_gss_acquire_cred(minor_status,
599 k5glue_add_cred(ctx, minor_status, input_cred_handle, desired_name, desired_mech, in k5glue_add_cred() argument
604 OM_uint32 *minor_status;
616 return(krb5_gss_add_cred(minor_status, input_cred_handle, desired_name,
626 k5glue_add_oid_set_member(ctx, minor_status, member_oid, oid_set)
[all …]
H A Ddisp_major_status.c145 static OM_uint32 display_calling(minor_status, code, status_string) in display_calling() argument
146 OM_uint32 *minor_status; in display_calling()
154 *minor_status = ENOMEM;
160 *minor_status = ENOMEM;
164 *minor_status = 0;
170 static OM_uint32 display_routine(minor_status, code, status_string) in display_routine() argument
171 OM_uint32 *minor_status; in display_routine()
179 *minor_status = ENOMEM;
185 *minor_status = ENOMEM;
189 *minor_status = 0;
[all …]
H A Dacquire_cred.c146 acquire_accept_cred(context, minor_status, desired_name, output_princ, cred) in acquire_accept_cred() argument
148 OM_uint32 *minor_status;
165 *minor_status = code;
170 *minor_status = code;
182 *minor_status = code;
200 *minor_status = KG_KEYTAB_NOMATCH;
202 *minor_status = code;
213 *minor_status = code;
234 acquire_init_cred(context, minor_status, desired_name, output_princ, cred) in acquire_init_cred() argument
236 OM_uint32 *minor_status;
[all …]
H A Dstore_cred.c40 store_init_cred(ct, minor_status, cred, dflt) in store_init_cred() argument
42 OM_uint32 *minor_status;
51 if (minor_status == NULL)
53 *minor_status = 0;
57 *minor_status = code;
88 *minor_status = code;
93 *minor_status = (OM_uint32) G_STORE_NON_DEFAULT_CRED_NOSUPP;
99 *minor_status = code;
115 krb5_gss_store_cred(minor_status, input_cred, cred_usage, in krb5_gss_store_cred() argument
118 OM_uint32 *minor_status; in krb5_gss_store_cred()
[all …]
H A Dadd_cred.c68 krb5_gss_add_cred(minor_status, input_cred_handle, in krb5_gss_add_cred() argument
73 OM_uint32 *minor_status; in krb5_gss_add_cred()
98 *minor_status = 0;
107 *minor_status = (OM_uint32) G_BAD_USAGE;
116 *minor_status = 0;
122 *minor_status = code;
126 major_status = krb5_gss_validate_cred_1(minor_status, input_cred_handle,
129 save_error_info(*minor_status, context);
143 *minor_status = (OM_uint32) G_BAD_USAGE;
152 *minor_status = 0;
[all …]
H A Doid_ops.c44 generic_gss_release_oid(minor_status, oid) in generic_gss_release_oid() argument
45 OM_uint32 *minor_status; in generic_gss_release_oid()
48 if (minor_status)
49 *minor_status = 0;
86 generic_gss_copy_oid(minor_status, oid, new_oid) in generic_gss_copy_oid() argument
87 OM_uint32 *minor_status; in generic_gss_copy_oid()
93 *minor_status = 0;
97 *minor_status = ENOMEM;
113 generic_gss_create_empty_oid_set(minor_status, oid_set) in generic_gss_create_empty_oid_set() argument
114 OM_uint32 *minor_status; in generic_gss_create_empty_oid_set()
[all …]
H A Dinq_cred.c77 krb5_gss_inquire_cred(minor_status, cred_handle, name, lifetime_ret, in krb5_gss_inquire_cred() argument
79 OM_uint32 *minor_status; in krb5_gss_inquire_cred()
100 *minor_status = code;
112 if ((major = kg_get_defcred(minor_status, (gss_cred_id_t *)&cred)) &&
120 major = krb5_gss_validate_cred(minor_status, cred_handle);
129 *minor_status = code;
136 *minor_status = code;
151 *minor_status = code;
159 if (GSS_ERROR(ret = generic_gss_create_empty_oid_set(minor_status,
162 GSS_ERROR(ret = generic_gss_add_oid_set_member(minor_status,
[all …]
H A Dinq_names.c35 krb5_gss_inquire_names_for_mech(minor_status, mechanism, name_types) in krb5_gss_inquire_names_for_mech() argument
36 OM_uint32 *minor_status; in krb5_gss_inquire_names_for_mech()
48 *minor_status = 0;
53 major = gss_create_empty_oid_set(minor_status, name_types);
57 ((major = generic_gss_add_oid_set_member(minor_status,
61 ((major = generic_gss_add_oid_set_member(minor_status,
65 ((major = generic_gss_add_oid_set_member(minor_status,
69 ((major = generic_gss_add_oid_set_member(minor_status,
73 ((major = generic_gss_add_oid_set_member(minor_status,
77 ((major = generic_gss_add_oid_set_member(minor_status,
[all …]
H A Dexport_name.c33 OM_uint32 krb5_gss_export_name(OM_uint32 *minor_status, in krb5_gss_export_name() argument
42 if (minor_status) in krb5_gss_export_name()
43 *minor_status = 0; in krb5_gss_export_name()
47 if (minor_status) in krb5_gss_export_name()
48 *minor_status = code; in krb5_gss_export_name()
60 if (minor_status) in krb5_gss_export_name()
61 *minor_status = (OM_uint32) G_VALIDATE_FAILED; in krb5_gss_export_name()
62 if (minor_status && kret == 0) { in krb5_gss_export_name()
63 krb5_set_error_message(context, *minor_status, in krb5_gss_export_name()
66 save_error_info(*minor_status, context); in krb5_gss_export_name()
[all …]
H A Dinq_context.c86 krb5_gss_inquire_context(minor_status, context_handle, initiator_name, in krb5_gss_inquire_context() argument
89 OM_uint32 *minor_status; in krb5_gss_inquire_context()
113 *minor_status = (OM_uint32) G_VALIDATE_FAILED;
120 *minor_status = KG_CTX_INCOMPLETE;
129 *minor_status = code;
130 save_error_info(*minor_status, context);
143 *minor_status = code;
144 save_error_info(*minor_status, context);
149 *minor_status = (OM_uint32) G_VALIDATE_FAILED;
159 *minor_status = code;
[all …]
H A Dimport_name.c52 krb5_gss_import_name(minor_status, input_name_buffer, in krb5_gss_import_name() argument
54 OM_uint32 *minor_status; in krb5_gss_import_name()
70 *minor_status = code;
77 *minor_status = 0;
88 *minor_status = ENOMEM;
111 *minor_status = (OM_uint32) G_WRONG_SIZE;
113 krb5_set_error_message(context, *minor_status,
116 save_error_info(*minor_status, context);
124 *minor_status = code;
125 save_error_info(*minor_status, context);
[all …]
H A Drel_cred.c29 krb5_gss_release_cred(minor_status, cred_handle) in krb5_gss_release_cred() argument
30 OM_uint32 *minor_status; in krb5_gss_release_cred()
39 *minor_status = code1;
44 *minor_status = 0;
50 *minor_status = (OM_uint32) G_VALIDATE_FAILED;
97 *minor_status = 0;
99 *minor_status = code1;
101 *minor_status = code2;
103 *minor_status = code3;
105 if (*minor_status)
[all …]
/titanic_41/usr/src/lib/libgss/
H A Dg_oid_ops.c42 gss_create_empty_oid_set(minor_status, oid_set) in gss_create_empty_oid_set() argument
43 OM_uint32 *minor_status; in gss_create_empty_oid_set()
47 status = generic_gss_create_empty_oid_set(minor_status, oid_set);
49 map_errcode(minor_status);
54 gss_add_oid_set_member(minor_status, member_oid, oid_set) in gss_add_oid_set_member() argument
55 OM_uint32 *minor_status; in gss_add_oid_set_member()
60 status = generic_gss_add_oid_set_member(minor_status, member_oid,
63 map_errcode(minor_status);
68 gss_test_oid_set_member(minor_status, member, set, present) in gss_test_oid_set_member() argument
69 OM_uint32 *minor_status; in gss_test_oid_set_member()
[all …]
H A Dg_inquire_names.c36 gss_inquire_names_for_mech(minor_status, mechanism, name_types) in gss_inquire_names_for_mech() argument
38 OM_uint32 * minor_status; in gss_inquire_names_for_mech()
48 if (minor_status != NULL)
49 *minor_status = 0;
56 if (minor_status == NULL)
74 minor_status,
78 map_error(minor_status, mech);
89 OM_uint32 *minor_status, in val_inq_mechs4name_args() argument
95 if (minor_status != NULL) in val_inq_mechs4name_args()
96 *minor_status = 0; in val_inq_mechs4name_args()
[all …]
H A Dg_seal.c35 OM_uint32 *minor_status, in val_seal_args() argument
43 if (minor_status != NULL) in val_seal_args()
44 *minor_status = 0; in val_seal_args()
53 if (minor_status == NULL) in val_seal_args()
70 gss_seal(minor_status, in gss_seal() argument
78 OM_uint32 * minor_status; in gss_seal()
90 status = val_seal_args(minor_status,
109 minor_status,
117 map_error(minor_status, mech);
128 gss_wrap(minor_status, in gss_wrap() argument
[all …]
H A Dg_store_cred.c35 OM_uint32 *minor_status, in val_store_cred_args() argument
51 if (minor_status != NULL) in val_store_cred_args()
52 *minor_status = 0; in val_store_cred_args()
59 if (minor_status == NULL) in val_store_cred_args()
68 if (minor_status) { in val_store_cred_args()
69 *minor_status = EINVAL; in val_store_cred_args()
70 map_errcode(minor_status); in val_store_cred_args()
78 OM_uint32 gss_store_cred(minor_status, in gss_store_cred() argument
87 OM_uint32 *minor_status; in gss_store_cred()
104 major_status = val_store_cred_args(minor_status,
[all …]
H A Dg_dup_name.c42 OM_uint32 *minor_status, in val_dup_name_args() argument
49 if (minor_status != NULL) in val_dup_name_args()
50 *minor_status = 0; in val_dup_name_args()
57 if (minor_status == NULL) in val_dup_name_args()
71 gss_duplicate_name(minor_status, in gss_duplicate_name() argument
74 OM_uint32 *minor_status; in gss_duplicate_name()
81 major_status = val_dup_name_args(minor_status, src_name, dest_name);
108 major_status = generic_gss_copy_oid(minor_status,
112 map_errcode(minor_status);
121 major_status = generic_gss_copy_oid(minor_status,
[all …]
H A Dg_inquire_cred.c37 gss_inquire_cred(minor_status, in gss_inquire_cred() argument
44 OM_uint32 *minor_status; in gss_inquire_cred()
60 if (minor_status != NULL)
61 *minor_status = 0;
70 if (minor_status == NULL)
88 status = mech->gss_inquire_cred(mech->context, minor_status,
95 map_error(minor_status, mech);
107 *minor_status = temp_minor_status;
108 map_error(minor_status, mech);
152 } else if ((gss_import_name(minor_status,
[all …]
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Ddelete_sec_context.c38 krb5_gss_internal_release_oid(minor_status, oid) in krb5_gss_internal_release_oid() argument
39 OM_uint32 *minor_status; in krb5_gss_internal_release_oid()
57 *minor_status = 0;
63 generic_gss_release_oid(minor_status, oid) in generic_gss_release_oid() argument
64 OM_uint32 *minor_status; in generic_gss_release_oid()
67 if (minor_status)
68 *minor_status = 0;
89 krb5_gss_release_oid(minor_status, oid) in krb5_gss_release_oid() argument
90 OM_uint32 *minor_status; in krb5_gss_release_oid()
94 if (krb5_gss_internal_release_oid(minor_status, oid) != GSS_S_COMPLETE) {
[all …]
H A Dgssapi_krb5.c169 kg_get_defcred(minor_status, cred) in kg_get_defcred() argument
170 OM_uint32 *minor_status; in kg_get_defcred()
175 if ((major = krb5_gss_acquire_cred(minor_status,
181 *minor_status = 0;
186 kg_sync_ccache_name (krb5_context context, OM_uint32 *minor_status) in kg_sync_ccache_name() argument
204 *minor_status = err; in kg_sync_ccache_name()
205 return (*minor_status == 0) ? GSS_S_COMPLETE : GSS_S_FAILURE; in kg_sync_ccache_name()
212 kg_caller_provided_ccache_name (OM_uint32 *minor_status, in kg_caller_provided_ccache_name() argument
220 *minor_status = 0; in kg_caller_provided_ccache_name()
225 kg_get_ccache_name (OM_uint32 *minor_status, const char **out_name) in kg_get_ccache_name() argument
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_spnego/mech/
H A Dspnego_mech.c349 OM_uint32 *minor_status, in glue_spnego_gss_acquire_cred() argument
358 return(spnego_gss_acquire_cred(minor_status, in glue_spnego_gss_acquire_cred()
370 spnego_gss_acquire_cred(OM_uint32 *minor_status, in spnego_gss_acquire_cred() argument
395 status = get_available_mechs(minor_status, in spnego_gss_acquire_cred()
405 status = gss_acquire_cred(minor_status, in spnego_gss_acquire_cred()
413 (void) gssint_copy_oid_set(minor_status, amechs, actual_mechs); in spnego_gss_acquire_cred()
415 (void) gss_release_oid_set(minor_status, &amechs); in spnego_gss_acquire_cred()
424 OM_uint32 *minor_status, in glue_spnego_gss_release_cred() argument
427 return( spnego_gss_release_cred(minor_status, cred_handle)); in glue_spnego_gss_release_cred()
432 spnego_gss_release_cred(OM_uint32 *minor_status, in spnego_gss_release_cred() argument
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_dummy/mech/
H A Ddmech.c195 dummy_gss_acquire_cred(ctx, minor_status, desired_name, time_req, desired_mechs, in dummy_gss_acquire_cred() argument
199 OM_uint32 *minor_status;
220 if (gss_copy_oid_set(minor_status, gss_mech_set_dummy,
232 dummy_gss_release_cred(ctx, minor_status, cred_handle) in dummy_gss_release_cred() argument
234 OM_uint32 *minor_status;
248 dummy_gss_init_sec_context(ct, minor_status, claimant_cred_handle, in dummy_gss_init_sec_context() argument
254 OM_uint32 *minor_status;
317 *minor_status = err;
323 *minor_status = 1;
374 dummy_gss_accept_sec_context(ct, minor_status, context_handle, in dummy_gss_accept_sec_context() argument
[all …]
/titanic_41/usr/src/cmd/gss/gssd/
H A Dgssd_clnt_stubs.c67 kgss_acquire_cred_wrapped(minor_status, in kgss_acquire_cred_wrapped() argument
77 OM_uint32 *minor_status; in kgss_acquire_cred_wrapped()
108 *minor_status = (OM_uint32) minor_status_temp;
162 if (minor_status != NULL)
163 *minor_status = DEFAULT_MINOR_STAT;
185 if (minor_status != NULL)
186 *minor_status = res.minor_status;
231 kgss_acquire_cred(minor_status, in kgss_acquire_cred() argument
240 OM_uint32 *minor_status; in kgss_acquire_cred()
256 err = kgss_acquire_cred_wrapped(minor_status,
[all …]
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/
H A Dkrb5mech.c183 k5glue_delete_sec_context(ctx, minor_status, context_handle, output_token, in k5glue_delete_sec_context() argument
186 OM_uint32 *minor_status;
191 return (krb5_gss_delete_sec_context(minor_status,
199 k5glue_import_sec_context(ctx, minor_status, interprocess_token, context_handle) in k5glue_import_sec_context() argument
201 OM_uint32 *minor_status;
205 return (krb5_gss_import_sec_context(minor_status,
213 k5glue_seal(ctx, minor_status, context_handle, conf_req_flag, qop_req, in k5glue_seal() argument
217 OM_uint32 *minor_status;
226 return (krb5_gss_seal(minor_status, context_handle,
233 k5glue_sign(ctx, minor_status, context_handle, in k5glue_sign() argument
[all …]
/titanic_41/usr/src/uts/common/gssapi/
H A Dgssd_clnt_stubs.c88 kgss_acquire_cred_wrapped(minor_status, in kgss_acquire_cred_wrapped() argument
98 OM_uint32 *minor_status; in kgss_acquire_cred_wrapped()
133 *minor_status = (OM_uint32) minor_status_temp;
200 if (minor_status != NULL)
201 *minor_status = DEFAULT_MINOR_STAT;
216 if (minor_status != NULL)
217 *minor_status = res.minor_status;
265 kgss_acquire_cred(minor_status, in kgss_acquire_cred() argument
274 OM_uint32 *minor_status; in kgss_acquire_cred()
290 err = kgss_acquire_cred_wrapped(minor_status, desired_name, time_req,
[all …]

12345