Lines Matching defs:newcontext
1342 newcontext)
1352 context_to_string(NULL, policydb, newcontext, &n, &nlen);
1368 context_struct_t *scontext = 0, *tcontext = 0, newcontext;
1388 context_init(&newcontext);
1395 newcontext.user = scontext->user;
1399 newcontext.user = tcontext->user;
1407 newcontext.role = scontext->role;
1408 newcontext.type = scontext->type;
1412 newcontext.role = OBJECT_R_VAL;
1414 newcontext.type = tcontext->type;
1438 newcontext.type = avdatum->data;
1451 newcontext.role = roletr->new_role;
1464 &newcontext);
1469 if (!policydb_context_isvalid(policydb, &newcontext)) {
1472 tclass, &newcontext);
1477 rc = sepol_sidtab_context_to_sid(sidtab, &newcontext, out_sid);
1479 context_destroy(&newcontext);