Lines Matching defs:tcontext

90 				      struct context *tcontext,
260 * tcontext is the context after the transition, and xcontext is the context
266 struct context *tcontext,
300 val2 = tcontext->user;
304 val2 = tcontext->type;
308 val2 = tcontext->role;
332 l2 = &(tcontext->range.level[0]);
336 l2 = &(tcontext->range.level[1]);
340 l2 = &(tcontext->range.level[0]);
344 l2 = &(tcontext->range.level[1]);
351 l1 = &(tcontext->range.level[0]);
352 l2 = &(tcontext->range.level[1]);
398 c = tcontext;
457 struct context *tcontext,
490 /* get scontext/tcontext in text form */
495 if (context_struct_to_string(policydb, tcontext,
506 "scontext=%s tcontext=%s tclass=%s perms=",
523 /* release scontext/tcontext */
534 struct context *tcontext,
539 struct context lo_tcontext, *tcontextp = tcontext;
551 target = policydb->type_val_to_struct[tcontext->type - 1];
560 memcpy(&lo_tcontext, tcontext, sizeof(lo_tcontext));
580 security_dump_masked_av(policydb, scontext, tcontext,
613 struct context *tcontext,
650 tattr = &policydb->type_attr_map_array[tcontext->type - 1];
683 !constraint_expr_eval(policydb, scontext, tcontext, NULL,
697 scontext->role != tcontext->role) {
700 tcontext->role == ra->new_role)
712 type_attribute_bounds_av(policydb, scontext, tcontext,
1010 struct context *scontext, *tcontext;
1038 tcontext = sidtab_search(sidtab, tsid);
1039 if (!tcontext) {
1061 tattr = &policydb->type_attr_map_array[tcontext->type - 1];
1105 struct context *scontext = NULL, *tcontext = NULL;
1128 tcontext = sidtab_search(sidtab, tsid);
1129 if (!tcontext) {
1141 context_struct_compute_av(policydb, scontext, tcontext, tclass, avd,
1161 struct context *scontext = NULL, *tcontext = NULL;
1183 tcontext = sidtab_search(sidtab, tsid);
1184 if (!tcontext) {
1196 context_struct_compute_av(policydb, scontext, tcontext, tclass, avd,
1663 audit_log_format(ab, " scontext=%s tcontext=%s tclass=%s",
1717 struct context *scontext, *tcontext, newcontext;
1773 tcontext = &tentry->context;
1783 newcontext.user = tcontext->user;
1792 newcontext.user = tcontext->user;
1800 newcontext.role = tcontext->role;
1812 newcontext.type = tcontext->type;
1819 newcontext.type = tcontext->type;
1825 avkey.target_type = tcontext->type;
1849 tcontext->type, tclass, objname);
1857 .type = tcontext->type,
1868 rc = mls_compute_sid(policydb, scontext, tcontext, tclass, specified,