Home
last modified time | relevance | path

Searched refs:context (Results 1 – 25 of 816) sorted by relevance

12345678910>>...33

/illumos-gate/usr/src/cmd/praudit/
H A Dtoken.c147 exit_token(pr_context_t *context) in exit_token() argument
191 file_token(pr_context_t *context) in file_token() argument
515 context->SEPARATOR); in arbitrary_data_token()
756 cmd_token(pr_context_t *context) in cmd_token() argument
768 (context->format & PRF_ONELINE) ? "" : context->SEPARATOR, in cmd_token()
769 num, context->SEPARATOR); in cmd_token()
786 (context->format & PRF_ONELINE) ? "" : context->SEPARATOR, in cmd_token()
787 num, context->SEPARATOR); in cmd_token()
1571 ip_token(pr_context_t *context) in ip_token() argument
1886 context->SEPARATOR); in string_token_common()
[all …]
H A Dprintaudit.c165 context->inbuf_last = context->audit_adr->adr_now - 1; in checkpoint_progress()
166 context->outbuf_last = context->outbuf_p; in checkpoint_progress()
168 context->audit_rec_start = context->audit_adr->adr_now - 1; in checkpoint_progress()
213 context->inbuf_last = context->inbuf_start = *in_buf; in print_audit_buf()
219 context->outbuf_last = context->outbuf_start = in print_audit_buf()
237 (context->inbuf_last - context->inbuf_start); in print_audit_buf()
240 *out_buf_len = context->outbuf_last - context->outbuf_start; in print_audit_buf()
248 *out_buf_len = context->outbuf_p - context->outbuf_start + 1; in print_audit_buf()
292 adrf_start(context->audit_adrf, context->audit_adr, stdin); in print_audit()
366 (context->audit_adr->adr_now < (context->audit_rec_start + in print_audit_common()
[all …]
H A Dprio.c46 adr_t *adr = context->audit_adr; in pr_adr_char()
47 adrf_t *adrf = context->audit_adrf; in pr_adr_char()
75 adr_t *adr = context->audit_adr; in pr_adr_short()
104 adr_t *adr = context->audit_adr; in pr_adr_int32()
130 adr_t *adr = context->audit_adr; in pr_adr_int64()
192 *(context->outbuf_p) = c; in pr_putchar()
193 context->outbuf_p += 1; in pr_putchar()
194 context->outbuf_remain_len -= 1; in pr_putchar()
222 addlen = vsnprintf(context->outbuf_p, context->outbuf_remain_len - 1, in pr_printf()
243 context->outbuf_p += addlen; in pr_printf()
[all …]
H A Dpraudit.h174 extern int open_tag(pr_context_t *context, int);
175 extern int finish_open_tag(pr_context_t *context);
176 extern int check_close_rec(pr_context_t *context, int);
177 extern int close_tag(pr_context_t *context, int);
178 extern int process_tag(pr_context_t *context, int, int, int);
183 extern int do_newline(pr_context_t *context, int);
196 extern int pa_reclen(pr_context_t *context, int status);
215 extern int pa_ace(pr_context_t *context, int status, int flag);
228 extern int pa_cmd(pr_context_t *context, int status, int flag);
231 extern int pa_xgeneric(pr_context_t *context);
[all …]
H A Dformat.c278 retstat = pr_printf(context, "%s", context->SEPARATOR); in do_newline()
309 context->pending_flag = 0; in open_tag()
317 err = do_newline(context, 1); in open_tag()
365 context->current_rec) { in check_close_rec()
366 err = do_newline(context, 1); in check_close_rec()
368 err = close_tag(context, context->current_rec); in check_close_rec()
386 if (context->pending_flag) { in finish_open_tag()
390 context->pending_flag = 0; in finish_open_tag()
2955 (context->audit_rec_start + context->audit_rec_len)); in pa_print()
2963 context->SEPARATOR); in pa_print()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddef_realm.c86 krb5_context context = data; in krb5int_address_get_realm() local
104 &context->default_realm); in krb5int_address_get_realm()
141 if (!context || (context->magic != KV5M_CONTEXT)) in krb5_get_default_realm()
148 if (!context->default_realm) { in krb5_get_default_realm()
156 if (!context->default_realm) { in krb5_get_default_realm()
203 &context->default_realm); in krb5_get_default_realm()
268 if (!context || (context->magic != KV5M_CONTEXT)) in krb5_set_default_realm()
271 if (context->default_realm) { in krb5_set_default_realm()
272 free(context->default_realm); in krb5_set_default_realm()
273 context->default_realm = 0; in krb5_set_default_realm()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dacquire_cred.c147 krb5_context context; in acquire_accept_cred()
235 krb5_context context; in acquire_init_cred()
470 krb5_context context; local
504 krb5_free_context(context);
527 krb5_free_context(context);
584 krb5_free_context(context);
607 krb5_free_context(context);
628 krb5_free_context(context);
653 krb5_free_context(context);
683 krb5_free_context(context);
[all …]
H A Dadd_cred.c85 krb5_context context; local
127 context);
130 krb5_free_context(context);
153 krb5_free_context(context);
159 krb5_free_context(context);
169 krb5_free_context(context);
196 krb5_free_context(context);
242 krb5_free_context(context);
260 krb5_free_context(context);
272 krb5_free_context(context);
[all …]
H A Dinit_sec_context.c108 krb5_context context; in get_credentials()
261 krb5_context context; in make_ap_req_v1()
371 krb5_context context) in setup_enc() argument
478 krb5_context context, in new_connection() argument
685 krb5_context context) in mutual_auth() argument
878 krb5_context context; local
1023 context);
1094 krb5_context context; in principal_ignore_inst_compare()
1147 krb5_context context; in ktfile_get_entry()
1320 krb5_context context, in get_instance_keytab() argument
[all …]
H A Dacquire_cred_with_pw.c98 krb5_context context; in acquire_accept_cred_with_pw()
113 krb5_context context; in acquire_init_cred_with_pw()
222 krb5_context context; local
257 krb5_free_context(context);
285 krb5_free_context(context);
294 krb5_free_context(context);
312 krb5_free_context(context);
330 krb5_free_context(context);
352 krb5_free_context(context);
439 krb5_free_context(context);
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dser_ctx.c104 krb5_context context; in krb5_context_size() local
136 if (context->default_realm) in krb5_context_size()
139 if (context->os_context) in krb5_context_size()
171 krb5_context context; in krb5_context_externalize() local
181 if (!context) in krb5_context_externalize()
295 if (context->os_context) { in krb5_context_externalize()
313 if (context->profile) { in krb5_context_externalize()
342 krb5_context context; in krb5_context_internalize() local
360 if (!context) in krb5_context_internalize()
517 if (context) in krb5_context_internalize()
[all …]
H A Dkfree.c75 krb5_free_ticket(context, val->ticket); in krb5_free_ap_req()
89 krb5_free_keyblock(context, val->subkey); in krb5_free_ap_rep_enc_part()
102 krb5_free_principal(context, val->client); in krb5_free_authenticator_contents()
106 krb5_free_keyblock(context, val->subkey); in krb5_free_authenticator_contents()
342 krb5_free_pa_data(context, val->padata); in krb5_free_kdc_rep()
350 krb5_free_ticket(context, val->ticket); in krb5_free_kdc_rep()
369 krb5_free_pa_data(context, val->padata); in krb5_free_kdc_req()
465 cleanup_dk_list(context, key); in krb5_free_keyblock_contents()
514 i = krb5_princ_size(context, val); in krb5_free_principal()
637 krb5_free_creds(context, *tgtpp); in krb5_free_tgt_creds()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dvfy_increds.c38 krb5_free_cred_contents(context, &creds); in krb5_cc_copy_creds_except()
67 krb5_verify_init_creds(krb5_context context, in krb5_verify_init_creds() argument
108 ret = krb5_kt_default(context, &keytab); in krb5_verify_init_creds()
145 krb5_kt_free_entry(context, &kte); in krb5_verify_init_creds()
195 krb5_auth_con_free(context, authcon); in krb5_verify_init_creds()
221 (void) krb5_cc_destroy(context, retcc); in krb5_verify_init_creds()
236 krb5_free_principal(context, server); in krb5_verify_init_creds()
239 (void) krb5_kt_close(context, keytab); in krb5_verify_init_creds()
242 (void) krb5_cc_destroy(context, ccache); in krb5_verify_init_creds()
244 krb5_free_creds(context, out_creds); in krb5_verify_init_creds()
[all …]
H A Dpreauth2.c128 context = malloc(sizeof(*context)); in krb5_init_preauth_context()
129 if (context == NULL) { in krb5_init_preauth_context()
133 context->modules = malloc(sizeof(context->modules[0]) * n_modules); in krb5_init_preauth_context()
136 free(context); in krb5_init_preauth_context()
139 memset(context->modules, 0, sizeof(context->modules[0]) * n_modules); in krb5_init_preauth_context()
198 context->modules[k].name, in krb5_init_preauth_context()
260 (context, pctx, in krb5_preauth_supply_preauth_data()
284 (*context->preauth_context->modules[i].client_fini)(context, pctx); in krb5_free_preauth_context()
314 (*context->preauth_context->modules[i].client_req_init) (context, pctx, rctx); in krb5_preauth_request_context_init()
333 (*context->preauth_context->modules[i].client_req_fini)(context, pctx, rctx); in krb5_preauth_request_context_fini()
[all …]
H A Drd_req_dec.c106 krb5_set_error_message(context, retval, in krb5_rd_req_decrypt_tkt_part()
137 if (!(skew < context->clockskew)) { in krb5int_check_clockskew2()
274 krb5_princ_realm (context, in krb5_rd_req_decoded_opt()
320 krb5_set_error_message(context, retval, in krb5_rd_req_decoded_opt()
326 context->clockskew > 0 ? context->clockskew/60 : 0); in krb5_rd_req_decoded_opt()
360 if ((!krb5_is_permitted_enctype(context, in krb5_rd_req_decoded_opt()
362 (!krb5_is_permitted_enctype(context, in krb5_rd_req_decoded_opt()
365 !krb5_is_permitted_enctype(context, in krb5_rd_req_decoded_opt()
370 krb5_set_error_message(context, retval, in krb5_rd_req_decoded_opt()
389 krb5_set_error_message(context, retval, in krb5_rd_req_decoded_opt()
[all …]
H A Dfwd_tgt.c77 krb5_free_keyblock (context, session_key); in krb5_fwd_tgt_creds()
97 krb5_free_creds (context, out); in krb5_fwd_tgt_creds()
99 krb5_free_cred_contents (context, &in); in krb5_fwd_tgt_creds()
116 context->use_conf_ktypes = 1; in krb5_fwd_tgt_creds()
156 if (krb5_princ_size(context, server) < 2){ in krb5_fwd_tgt_creds()
197 krb5_free_creds(context, pcreds); in krb5_fwd_tgt_creds()
205 krb5_free_data(context, scratch); in krb5_fwd_tgt_creds()
214 krb5_free_addresses(context, addrs); in krb5_fwd_tgt_creds()
217 (void) krb5_cc_close(context, cc); in krb5_fwd_tgt_creds()
220 krb5_free_cred_contents(context, &creds); in krb5_fwd_tgt_creds()
[all …]
H A Dget_in_tkt.c172 krb5_free_error(context, err_reply); in send_as_request2()
218 krb5_free_kdc_rep(context, as_reply); in send_as_request2()
225 krb5_free_kdc_rep(context, as_reply); in send_as_request2()
229 krb5_free_data(context, packet); in send_as_request2()
242 return send_as_request2(context, in send_as_request()
372 retval = krb5_set_real_time(context, in verify_as_reply()
379 > context->clockskew)) in verify_as_reply()
524 krb5_get_in_tkt(krb5_context context, in krb5_get_in_tkt() argument
745 krb5_free_pa_data(context, padata); in krb5_get_in_tkt()
812 if (!context || (context->magic != KV5M_CONTEXT)) in krb5_libdefault_string()
[all …]
H A Dauth_con.c58 krb5_free_address(context, auth_context->local_addr); in krb5_auth_con_free()
60 krb5_free_address(context, auth_context->remote_addr); in krb5_auth_con_free()
62 krb5_free_address(context, auth_context->local_port); in krb5_auth_con_free()
68 krb5_free_keyblock(context, auth_context->keyblock); in krb5_auth_con_free()
75 (void) krb5_rc_close(context, auth_context->rcache); in krb5_auth_con_free()
95 retval = actx_copy_addr(context, in krb5_auth_con_setaddrs()
102 retval = actx_copy_addr(context, in krb5_auth_con_setaddrs()
118 retval = actx_copy_addr(context, in krb5_auth_con_getaddrs()
123 retval = actx_copy_addr(context, in krb5_auth_con_getaddrs()
143 retval = actx_copy_addr(context, in krb5_auth_con_setports()
[all …]
H A Dget_creds.c142 retval = krb5_get_credentials_core(context, options, in krb5_get_credentials()
149 krb5_free_keyblock_contents(context, &mcreds.keyblock); in krb5_get_credentials()
168 krb5_free_keyblock_contents(context, &mcreds.keyblock); in krb5_get_credentials()
189 krb5_free_tgt_creds(context, tgts); in krb5_get_credentials()
249 if (tgts) krb5_free_tgt_creds(context, tgts); in krb5_get_credentials_val_renew_core()
254 retval = krb5_cc_initialize(context, ccache, tmp); in krb5_get_credentials_val_renew_core()
257 krb5_free_principal(context, tmp); in krb5_get_credentials_val_renew_core()
262 krb5_free_principal(context, tmp); in krb5_get_credentials_val_renew_core()
341 ret = krb5_get_cred_from_kdc_renew(context, ccache, in krb5_validate_or_renew_creds()
353 krb5_free_principal(context, in_creds.server); in krb5_validate_or_renew_creds()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dccfns.c36 return cache->ops->get_name(context, cache); in krb5_cc_get_name()
42 return (*cache)->ops->gen_new(context, cache); in krb5_cc_gen_new()
49 return cache->ops->init(context, cache, principal); in krb5_cc_initialize()
53 krb5_cc_destroy (krb5_context context, krb5_ccache cache) in krb5_cc_destroy() argument
55 return cache->ops->destroy(context, cache); in krb5_cc_destroy()
59 krb5_cc_close (krb5_context context, krb5_ccache cache) in krb5_cc_close() argument
61 return cache->ops->close(context, cache); in krb5_cc_close()
72 ret = cache->ops->store(context, cache, creds); in krb5_cc_store_cred()
84 if (!krb5_principal_compare(context, s1, s2)) { in krb5_cc_store_cred()
86 ret = cache->ops->store(context, cache, creds); in krb5_cc_store_cred()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkadm5_create.c61 add_admin_princ(void *handle, krb5_context context,
88 krb5_context context; in kadm5_create() local
109 kadm5_free_config_params(context, &lparams); in kadm5_create()
110 krb5_free_context(context); in kadm5_create()
116 krb5_context context) in kadm5_create_magic_princs() argument
137 krb5_klog_close(context); in kadm5_create_magic_princs()
201 if ((ret = add_admin_old_princ(handle, context, in add_admin_princs()
208 if ((ret = add_admin_old_princ(handle, context, in add_admin_princs()
325 krb5_free_ktypes(context, enctype); in add_admin_princ()
336 krb5_free_ktypes(context, enctype); in add_admin_princ()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_dmae.c359 operation->context = context; in lm_dmae_operation_create()
447 operation->context = context; in lm_dmae_operation_create_sgl()
600 if (CHK_NULL(context)) in lm_dmae_context_create()
620 context->completion_word = context->completion_value; in lm_dmae_context_create()
630 return context; in lm_dmae_context_create()
663 context->completion_word = context->completion_value; in lm_dmae_context_create_sgl()
673 return context; in lm_dmae_context_create_sgl()
689 context->completion_word = context->completion_value; in lm_dmae_context_reset()
947 DbgBreakIf(context->completion_word != context->completion_value); in lm_dmae_context_execute_sub_operation()
961 DbgBreakIf(context->completion_word != context->completion_value); in lm_dmae_context_execute_sub_operation()
[all …]
H A Dbnxe_context.c210 if CHK_NULL(context) in lm_setup_context_pool()
238 if CHK_NULL(context->array) in lm_setup_context_pool()
246 ASSERT_STATIC( ARRSIZE(context->proto_start) == ARRSIZE(context->proto_end) ); in lm_setup_context_pool()
251 for (j = context->proto_start[i]; j <= context->proto_end[i]; j++) in lm_setup_context_pool()
260 if (context->proto_start[i] <= context->proto_end[i]) { in lm_setup_context_pool()
261 context->proto_ffree[i] = context->proto_start[i]; in lm_setup_context_pool()
269 context->array[context->proto_end[i]].next = 0; in lm_setup_context_pool()
322 if CHK_NULL(context) in lm_alloc_context_pool()
615 context->proto_pending[type] = context->array[cid].next; in lm_allocate_cid()
632 context->proto_ffree[type] = context->array[cid].next; in lm_allocate_cid()
[all …]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dfunc.c42 mask = (int)sqlite_user_data(context); in minmaxFunc()
82 sqlite_set_result_int(context, len); in lengthFunc()
94 sqlite_set_result_string(context, z, -1); in absFunc()
307 sqlite_set_result_int(context, r); in randomFunc()
315 sqlite *db = sqlite_user_data(context); in last_insert_rowid()
324 sqlite *db = sqlite_user_data(context); in change_count()
334 sqlite *db = sqlite_user_data(context); in last_statement_change_count()
349 sqlite_set_result_int(context, in likeFunc()
365 sqlite_set_result_int(context, in globFunc()
576 sqlite_set_result_double(context,
[all …]
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_cpw.c66 krb5_context context; in get_key_data_kvno()
82 krb5_context context; in cleanup_key_data()
98 krb5_db_free(context, data);
103 krb5_context context; in add_key_rnd()
253 krb5_context context; in krb5_dbe_crk()
310 krb5_context context; in krb5_dbe_ark()
363 krb5_context context; in add_key_pwd()
415 if ((retval = krb5_copy_data(context, krb5_princ_realm(context,
440 if (retval = krb5_copy_data(context, krb5_princ_realm(context,
549 krb5_context context; in krb5_dbe_def_cpw()
[all …]

12345678910>>...33