Home
last modified time | relevance | path

Searched refs:tcontext (Results 1 – 4 of 4) sorted by relevance

/security/selinux/ss/
Dservices.c98 struct context *tcontext,
274 struct context *tcontext, in constraint_expr_eval() argument
308 val2 = tcontext->user; in constraint_expr_eval()
312 val2 = tcontext->type; in constraint_expr_eval()
316 val2 = tcontext->role; in constraint_expr_eval()
340 l2 = &(tcontext->range.level[0]); in constraint_expr_eval()
344 l2 = &(tcontext->range.level[1]); in constraint_expr_eval()
348 l2 = &(tcontext->range.level[0]); in constraint_expr_eval()
352 l2 = &(tcontext->range.level[1]); in constraint_expr_eval()
359 l1 = &(tcontext->range.level[0]); in constraint_expr_eval()
[all …]
Dmls.c490 struct context *tcontext, in mls_compute_sid() argument
508 rtr.target_type = tcontext->type; in mls_compute_sid()
528 return mls_context_cpy_low(newcontext, tcontext); in mls_compute_sid()
530 return mls_context_cpy_high(newcontext, tcontext); in mls_compute_sid()
532 return mls_context_cpy(newcontext, tcontext); in mls_compute_sid()
535 scontext, tcontext); in mls_compute_sid()
Dmls.h57 struct context *tcontext,
/security/selinux/
Davc.c718 char *tcontext = NULL; in avc_audit_post_callback() local
731 rc = security_sid_to_context(sad->state, sad->tsid, &tcontext, in avc_audit_post_callback()
736 audit_log_format(ab, " tcontext=%s", tcontext); in avc_audit_post_callback()
744 trace_selinux_audited(sad, scontext, tcontext, tclass); in avc_audit_post_callback()
745 kfree(tcontext); in avc_audit_post_callback()