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