Searched refs:context (Results 1 - 25 of 746) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dattr-context.c1 static void a(void) __attribute__((context)); // KO
2 static void b(void) __attribute__((context())); // KO
3 static void c(void) __attribute__((context 1)); // KO
4 static void d(void) __attribute__((context 1,2)); // KO
5 static void e(void) __attribute__((context (1))); // !!!!
6 static void f(void) __attribute__((context(0))); // !!!!
7 static void g(void) __attribute__((context(0,1,2,3))); // KO
9 static void h(void) __attribute__((context (1,2))); // OK
10 static void i(void) __attribute__((context(0,1))); // OK
11 static void j(void) __attribute__((context(
[all...]
/illumos-gate/usr/src/cmd/praudit/
H A Dprintaudit.c50 static void checkpoint_progress(pr_context_t *context);
51 static int print_audit_common(pr_context_t *context, int flags,
53 static int token_processing(pr_context_t *context);
159 checkpoint_progress(pr_context_t *context) argument
161 int tokenid = context->tokenid;
164 if (context->data_mode == BUFMODE) {
165 context->inbuf_last = context->audit_adr->adr_now - 1;
166 context->outbuf_last = context
201 pr_context_t *context; local
276 pr_context_t *context; local
331 print_audit_common(pr_context_t *context, const int flags, const char *separator) argument
396 token_processing(pr_context_t *context) argument
[all...]
H A Dtoken.c147 exit_token(pr_context_t *context) argument
153 if ((returnstat = open_tag(context, TAG_ERRVAL)) != 0)
156 if ((returnstat = pr_adr_int32(context, (int32_t *)&retval, 1)) == 0) {
157 if (!(context->format & PRF_RAWM)) {
169 returnstat = pa_print(context, &uval, 0);
172 returnstat = close_tag(context, TAG_ERRVAL);
174 return (process_tag(context, TAG_RETVAL, returnstat, 1));
191 file_token(pr_context_t *context) argument
195 returnstat = pa_utime32(context, 0, 0); /* time from usecs */
198 returnstat = pa_file_string(context, returnsta
204 file64_token(pr_context_t *context) argument
237 header_token(pr_context_t *context) argument
255 header64_token(pr_context_t *context) argument
273 header32_ex_token(pr_context_t *context) argument
293 header64_ex_token(pr_context_t *context) argument
327 trailer_token(pr_context_t *context) argument
385 arbitrary_data_token(pr_context_t *context) argument
553 opaque_token(pr_context_t *context) argument
606 path_token(pr_context_t *context) argument
756 cmd_token(pr_context_t *context) argument
825 argument32_token(pr_context_t *context) argument
852 argument64_token(pr_context_t *context) argument
884 process32_token(pr_context_t *context) argument
909 process64_token(pr_context_t *context) argument
953 process32_ex_token(pr_context_t *context) argument
978 process64_ex_token(pr_context_t *context) argument
1016 return_value32_token(pr_context_t *context) argument
1116 return_value64_token(pr_context_t *context) argument
1231 subject32_token(pr_context_t *context) argument
1256 subject64_token(pr_context_t *context) argument
1300 subject32_ex_token(pr_context_t *context) argument
1325 subject64_ex_token(pr_context_t *context) argument
1362 s5_IPC_token(pr_context_t *context) argument
1424 text_token(pr_context_t *context) argument
1447 tid_token(pr_context_t *context) argument
1490 ip_addr_token(pr_context_t *context) argument
1496 ip_addr_ex_token(pr_context_t *context) argument
1571 ip_token(pr_context_t *context) argument
1602 iport_token(pr_context_t *context) argument
1624 socket_token(pr_context_t *context) argument
1663 socket_ex_token(pr_context_t *context) argument
1687 sequence_token(pr_context_t *context) argument
1706 acl_token(pr_context_t *context) argument
1730 ace_token(pr_context_t *context) argument
1761 attribute_token(pr_context_t *context) argument
1776 attribute32_token(pr_context_t *context) argument
1791 attribute64_token(pr_context_t *context) argument
1820 group_token(pr_context_t *context) argument
1848 newgroup_token(pr_context_t *context) argument
1875 string_token_common(pr_context_t *context, int tag) argument
1904 path_attr_token(pr_context_t *context) argument
1910 exec_args_token(pr_context_t *context) argument
1916 exec_env_token(pr_context_t *context) argument
1942 s5_IPC_perm_token(pr_context_t *context) argument
1970 host_token(pr_context_t *context) argument
1988 liaison_token(pr_context_t *context) argument
2006 useofauth_token(pr_context_t *context) argument
2025 user_token(pr_context_t *context) argument
2046 zonename_token(pr_context_t *context) argument
2064 fmri_token(pr_context_t *context) argument
2083 xatom_token(pr_context_t *context) argument
2089 xcolormap_token(pr_context_t *context) argument
2095 xcursor_token(pr_context_t *context) argument
2101 xfont_token(pr_context_t *context) argument
2107 xgc_token(pr_context_t *context) argument
2113 xpixmap_token(pr_context_t *context) argument
2119 xwindow_token(pr_context_t *context) argument
2140 xproperty_token(pr_context_t *context) argument
2172 xselect_token(pr_context_t *context) argument
2196 xclient_token(pr_context_t *context) argument
2218 label_token(pr_context_t *context) argument
2275 useofpriv_token(pr_context_t *context) argument
2335 privilege_token(pr_context_t *context) argument
2364 secflags_token(pr_context_t *context) argument
[all...]
H A Dprio.c43 pr_adr_char(pr_context_t *context, char *cp, int count) argument
46 adr_t *adr = context->audit_adr;
47 adrf_t *adrf = context->audit_adrf;
49 if (context->data_mode == FILEMODE) {
59 if (!pr_input_remaining(context, (sizeof (char) * count))) {
72 pr_adr_short(pr_context_t *context, short *sp, int count) argument
75 adr_t *adr = context->audit_adr;
76 adrf_t *adrf = context->audit_adrf;
78 if (context->data_mode == FILEMODE) {
88 if (!pr_input_remaining(context, (sizeo
101 pr_adr_int32(pr_context_t *context, int32_t *lp, int count) argument
127 pr_adr_int64(pr_context_t *context, int64_t *lp, int count) argument
153 pr_adr_u_int32(pr_context_t *context, uint32_t *cp, int count) argument
159 pr_adr_u_char(pr_context_t *context, uchar_t *cp, int count) argument
165 pr_adr_u_int64(pr_context_t *context, uint64_t *lp, int count) argument
171 pr_adr_u_short(pr_context_t *context, ushort_t *sp, int count) argument
177 pr_putchar(pr_context_t *context, char c) argument
200 pr_printf(pr_context_t *context, const char *fmt, ...) argument
257 pr_input_remaining(pr_context_t *context, size_t size) argument
[all...]
H A Dpraudit.h138 * used to save context for print_audit and related functions.
174 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);
195 extern int pa_print(pr_context_t *context, uval_t *uval, int flag);
196 extern int pa_reclen(pr_context_t *context, int status);
197 extern int pa_file_string(pr_context_t *context, in
[all...]
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dshow_ifs.sh3 context=1
6 context=$1
12 echo "Usage: $0 [-C <lines of context>] <file with smatch messages>"
21 tail -n +$(($line - ($context - 1))) $code_file | head -n $(($context - 1))
22 if [[ $context -gt 1 ]] ; then
25 tail -n +${line} $code_file | head -n $context
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_xdr.h9 krb5_encode_princ_dbkey( krb5_context context,
14 krb5_decode_princ_contents( krb5_context context,
19 krb5_dbe_free_contents( krb5_context context,
23 krb5_encode_princ_contents( krb5_context context,
29 krb5_free_princ_dbkey( krb5_context context,
33 krb5_free_princ_contents( krb5_context context,
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_xdr.h9 krb5_encode_princ_dbkey( krb5_context context,
14 krb5_decode_princ_contents( krb5_context context,
19 krb5_dbe_free_contents( krb5_context context,
23 krb5_encode_princ_contents( krb5_context context,
29 krb5_free_princ_dbkey( krb5_context context,
33 krb5_free_princ_contents( krb5_context context,
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dfree_hstrl.c38 krb5_free_host_realm(krb5_context context, char *const *realmlist) argument
41 return krb5_free_krbhst(context, realmlist);
H A Dunlck_file.c34 krb5_unlock_file(krb5_context context, int fd) argument
36 return krb5_lock_file(context, fd, KRB5_LOCKMODE_UNLOCK);
H A Ddef_realm.c86 krb5_context context = data; local
103 krb5int_fqdn_get_realm(context, he->h_name,
104 &context->default_realm);
109 if (context->default_realm != 0) {
132 krb5_get_default_realm(krb5_context context, char **lrealm) argument
141 if (!context || (context->magic != KV5M_CONTEXT))
148 if (!context->default_realm) {
150 context->default_realm = strdup(realm);
151 if (context
266 krb5_set_default_realm(krb5_context context, const char *lrealm) argument
292 krb5_free_default_realm(krb5_context context, char *lrealm) argument
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dchown.c35 b_chown(int argc, char** argv, void* context) argument
38 return b_chgrp(argc, argv, context);
H A Dln.c32 b_ln(int argc, register char** argv, void* context) argument
34 return b_cp(argc, argv, context);
H A Dmd5sum.c32 b_md5sum(int argc, register char** argv, void* context) argument
34 return b_cksum(argc, argv, context);
H A Dmv.c32 b_mv(int argc, register char** argv, void* context) argument
34 return b_cp(argc, argv, context);
H A Dsum.c32 b_sum(int argc, register char** argv, void* context) argument
34 return b_cksum(argc, argv, context);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dccdefault.c46 krb5_cc_default(krb5_context context, krb5_ccache *ccache) argument
50 if (!context || context->magic != KV5M_CONTEXT)
53 os_ctx = context->os_context;
55 return krb5_cc_resolve(context, krb5_cc_default_name(context), ccache);
66 krb5int_cc_default(krb5_context context, krb5_ccache *ccache) argument
68 if (!context || context->magic != KV5M_CONTEXT) {
79 err = __KLInternalAcquireInitialTicketsForCache (krb5_cc_default_name (context), kerberosVersion_V
[all...]
H A Dcccopy.c6 krb5_cc_copy_creds(krb5_context context, krb5_ccache incc, krb5_ccache outcc) argument
14 if ((code = krb5_cc_set_flags(context, incc, flags)))
20 if ((code = krb5_cc_set_flags(context, outcc, flags)))
24 if ((code = krb5_cc_start_seq_get(context, incc, &cur)))
27 while (!(code = krb5_cc_next_cred(context, incc, &cur, &creds))) {
28 code = krb5_cc_store_cred(context, outcc, &creds);
29 krb5_free_cred_contents(context, &creds);
37 code = krb5_cc_end_seq_get(context, incc, &cur);
49 krb5_cc_end_seq_get(context, incc, &cur);
52 krb5_cc_set_flags(context, inc
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Ddisp_name.c33 krb5_context context; local
37 code = krb5_gss_init_context(&context);
48 krb5_free_context(context);
52 if ((code = krb5_unparse_name(context,
55 save_error_info(*minor_status, context);
56 krb5_free_context(context);
61 krb5_free_unparsed_name(context, str);
62 krb5_free_context(context);
68 krb5_free_unparsed_name(context, str);
69 krb5_free_context(context);
[all...]
H A Drel_name.c32 krb5_context context; local
35 code = krb5_gss_init_context(&context);
43 krb5_free_context(context);
49 krb5_free_principal(context, (krb5_principal) *input_name);
50 krb5_free_context(context);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dktfr_entry.c39 krb5_free_keytab_entry_contents (krb5_context context, krb5_keytab_entry *entry) argument
44 krb5_free_principal(context, entry->principal);
48 krb5_free_keyblock_contents(context, &entry->key);
54 krb5_kt_free_entry (krb5_context context, krb5_keytab_entry *entry) argument
56 return krb5_free_keytab_entry_contents (context, entry);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drcfns.c37 krb5_rc_initialize (krb5_context context, krb5_rcache id, krb5_deltat span) argument
39 return krb5_x(id->ops->init,(context, id, span));
43 krb5_rc_recover_or_initialize (krb5_context context, krb5_rcache id, argument
46 return krb5_x(id->ops->recover_or_init,(context, id, span));
50 krb5_rc_recover (krb5_context context, krb5_rcache id) argument
52 return krb5_x((id)->ops->recover,(context, id));
56 krb5_rc_destroy (krb5_context context, krb5_rcache id) argument
58 return krb5_x((id)->ops->destroy,(context, id));
62 krb5_rc_close (krb5_context context, krb5_rcache id) argument
64 return krb5_x((id)->ops->close,(context, i
68 krb5_rc_store(krb5_context context, krb5_rcache id, krb5_donot_replay *dontreplay) argument
75 krb5_rc_expunge(krb5_context context, krb5_rcache id) argument
81 krb5_rc_get_lifespan(krb5_context context, krb5_rcache id, krb5_deltat *spanp) argument
88 krb5_rc_get_name(krb5_context context, krb5_rcache id) argument
94 krb5_rc_resolve(krb5_context context, krb5_rcache id, char *name) argument
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dvfy_increds.c13 krb5_cc_copy_creds_except(krb5_context context, krb5_ccache incc, krb5_ccache outcc, krb5_principal princ) argument
22 if ((code = krb5_cc_set_flags(context, incc, flags)) != 0)
25 if ((code = krb5_cc_set_flags(context, outcc, flags)) != 0)
29 if ((code = krb5_cc_start_seq_get(context, incc, &cur)) != 0)
33 while ((code = krb5_cc_next_cred(context, incc, &cur, &creds)) == 0) {
34 if (krb5_principal_compare(context, princ, creds.server))
37 code = krb5_cc_store_cred(context, outcc, &creds);
38 krb5_free_cred_contents(context, &creds);
53 (void) krb5_cc_set_flags(context, incc, flags);
55 code = krb5_cc_set_flags(context, inc
67 krb5_verify_init_creds(krb5_context context, krb5_creds *creds, krb5_principal server_arg, krb5_keytab keytab_arg, krb5_ccache *ccache_arg, krb5_verify_init_creds_opt *options) argument
[all...]
H A Dmk_req.c59 krb5_mk_req(krb5_context context, krb5_auth_context *auth_context, argument
68 retval = krb5_sname_to_principal(context, hostname, service,
75 if ((retval = krb5_copy_principal(context, server, &creds.server)))
79 if ((retval = krb5_cc_get_principal(context, ccache, &creds.client)) != 0)
83 if ((retval = krb5_get_credentials(context, 0,
87 retval = krb5_mk_req_extended(context, auth_context, ap_req_options,
90 krb5_free_creds(context, credsp);
93 krb5_free_cred_contents(context, &creds);
96 krb5_free_principal(context, server);
H A Dprinc_comp.c40 krb5_realm_compare(krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2) argument
42 if (krb5_princ_realm(context, princ1)->length !=
43 krb5_princ_realm(context, princ2)->length ||
44 memcmp (krb5_princ_realm(context, princ1)->data,
45 krb5_princ_realm(context, princ2)->data,
46 krb5_princ_realm(context, princ2)->length))
53 krb5_principal_compare(krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2) argument
58 nelem = krb5_princ_size(context, princ1);
59 if (nelem != krb5_princ_size(context, princ2))
62 if (! krb5_realm_compare(context, princ
81 __krb5_principal_compare_case_ins(krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2) argument
[all...]

Completed in 66 milliseconds

1234567891011>>