Home | History | Annotate | Download | only in src

Lines Matching full:tcontext

121  * tcontext is the context after the transition, and xcontext is the context
126 context_struct_t * tcontext,
160 val2 = tcontext->user;
164 val2 = tcontext->type;
168 val2 = tcontext->role;
195 l2 = &(tcontext->range.level[0]);
199 l2 = &(tcontext->range.level[1]);
203 l2 = &(tcontext->range.level[0]);
207 l2 = &(tcontext->range.level[1]);
214 l1 = &(tcontext->range.level[0]);
215 l2 = &(tcontext->range.level[1]);
261 c = tcontext;
307 context_struct_t * tcontext,
345 tattr = &policydb->type_attr_map[tcontext->type - 1];
386 !constraint_expr_eval(scontext, tcontext, NULL,
406 scontext->role != tcontext->role) {
409 tcontext->role == ra->new_role)
432 context_struct_t *tcontext;
454 tcontext = sepol_sidtab_search(sidtab, tasksid);
455 if (!tcontext) {
462 if (!constraint_expr_eval(ocontext, ncontext, tcontext,
479 context_struct_t *scontext = 0, *tcontext = 0;
488 tcontext = sepol_sidtab_search(sidtab, tsid);
489 if (!tcontext) {
495 rc = context_struct_compute_av(scontext, tcontext, tclass,
573 tcontext,
586 context_to_string(NULL, policydb, tcontext, &t, &tlen);
589 "scontext=%s tcontext=%s tclass=%s",
603 context_struct_t *scontext = 0, *tcontext = 0, newcontext;
616 tcontext = sepol_sidtab_search(sidtab, tsid);
617 if (!tcontext) {
634 newcontext.user = tcontext->user;
649 newcontext.type = tcontext->type;
654 avkey.target_type = tcontext->type;
684 roletr->type == tcontext->type) {
698 rc = mls_compute_sid(policydb, scontext, tcontext, tclass, specified,
706 tcontext,