Home
last modified time | relevance | path

Searched refs:scontext (Results 1 – 9 of 9) sorted by relevance

/linux/include/trace/events/
A Davc.h17 char *scontext,
22 TP_ARGS(sad, scontext, tcontext, tclass),
29 __string(scontext, scontext)
40 __assign_str(scontext, scontext);
46 __get_str(scontext), __get_str(tcontext), __get_str(tclass)
/linux/security/selinux/ss/
A Dservices.c91 char **scontext,
402 c = scontext; in constraint_expr_eval()
1048 if (!scontext) { in security_compute_xperms_decision()
1136 if (!scontext) { in security_compute_av()
1192 if (!scontext) { in security_compute_av_user()
1238 if (scontext) in context_struct_to_string()
1244 if (scontext) { in context_struct_to_string()
1258 if (!scontext) in context_struct_to_string()
1338 if (scontext) in security_sid_to_context_core()
1350 if (!scontext) in security_sid_to_context_core()
[all …]
A Dmls.c91 char **scontext) in mls_sid_to_context() argument
101 scontextp = *scontext; in mls_sid_to_context()
158 *scontext = scontextp; in mls_sid_to_context()
236 char *scontext, in mls_context_to_sid() argument
278 rangep[0] = scontext; in mls_context_to_sid()
279 rangep[1] = strchr(scontext, '-'); in mls_context_to_sid()
489 struct context *scontext, in mls_compute_sid() argument
507 rtr.source_type = scontext->type; in mls_compute_sid()
526 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
535 scontext, tcontext); in mls_compute_sid()
[all …]
A Dmls.h33 char **scontext);
40 char *scontext,
56 struct context *scontext,
/linux/security/selinux/include/
A Dsecurity.h308 char **scontext, u32 *scontext_len);
311 u32 sid, char **scontext, u32 *scontext_len);
314 u32 sid, char **scontext, u32 *scontext_len);
317 const char *scontext, u32 scontext_len,
321 const char *scontext, u32 *out_sid, gfp_t gfp);
324 const char *scontext, u32 scontext_len,
328 const char *scontext, u32 scontext_len,
/linux/security/selinux/
A Davc.c711 char *scontext = NULL; in avc_audit_post_callback() local
723 audit_log_format(ab, " scontext=%s", scontext); in avc_audit_post_callback()
738 trace_selinux_audited(sad, scontext, tcontext, tclass); in avc_audit_post_callback()
740 kfree(scontext); in avc_audit_post_callback()
745 if (!rc && scontext) { in avc_audit_post_callback()
746 if (scontext_len && scontext[scontext_len - 1] == '\0') in avc_audit_post_callback()
749 audit_log_n_untrustedstring(ab, scontext, scontext_len); in avc_audit_post_callback()
750 kfree(scontext); in avc_audit_post_callback()
755 if (!rc && scontext) { in avc_audit_post_callback()
756 if (scontext_len && scontext[scontext_len - 1] == '\0') in avc_audit_post_callback()
[all …]
A Dhooks.c5222 char *scontext; in selinux_socket_getpeersec_stream() local
5234 err = security_sid_to_context(&selinux_state, peer_sid, &scontext, in selinux_socket_getpeersec_stream()
5244 if (copy_to_user(optval, scontext, scontext_len)) in selinux_socket_getpeersec_stream()
5250 kfree(scontext); in selinux_socket_getpeersec_stream()
/linux/drivers/infiniband/hw/hfi1/
A Dpio.c1834 static void set_threshold(struct hfi1_devdata *dd, int scontext, int i) in set_threshold() argument
1840 sc_mtu_to_threshold(dd->kernel_send_context[scontext], in set_threshold()
1843 sc_set_cr_threshold(dd->kernel_send_context[scontext], thres); in set_threshold()
1878 int scontext = 1; in pio_map_init() local
1908 int first_scontext = scontext; in pio_map_init()
1926 if (dd->kernel_send_context[scontext]) { in pio_map_init()
1928 dd->kernel_send_context[scontext]; in pio_map_init()
1929 set_threshold(dd, scontext, i); in pio_map_init()
1931 if (++scontext >= first_scontext + in pio_map_init()
1934 scontext = first_scontext; in pio_map_init()
[all …]
/linux/tools/perf/Documentation/
A Dsecurity.txt163 …audit[1318098]: AVC avc: denied { open } for pid=1318098 comm="perf" scontext=unconfined_u:unco…

Completed in 41 milliseconds