Lines Matching refs:newcontext
1338 newcontext) in compute_sid_handle_invalid_context() argument
1348 context_to_string(NULL, policydb, newcontext, &n, &nlen); in compute_sid_handle_invalid_context()
1364 context_struct_t *scontext = 0, *tcontext = 0, newcontext; in sepol_compute_sid() local
1384 context_init(&newcontext); in sepol_compute_sid()
1391 newcontext.user = scontext->user; in sepol_compute_sid()
1395 newcontext.user = tcontext->user; in sepol_compute_sid()
1403 newcontext.role = scontext->role; in sepol_compute_sid()
1404 newcontext.type = scontext->type; in sepol_compute_sid()
1408 newcontext.role = OBJECT_R_VAL; in sepol_compute_sid()
1410 newcontext.type = tcontext->type; in sepol_compute_sid()
1434 newcontext.type = avdatum->data; in sepol_compute_sid()
1447 newcontext.role = roletr->new_role; in sepol_compute_sid()
1460 &newcontext); in sepol_compute_sid()
1465 if (!policydb_context_isvalid(policydb, &newcontext)) { in sepol_compute_sid()
1468 tclass, &newcontext); in sepol_compute_sid()
1473 rc = sepol_sidtab_context_to_sid(sidtab, &newcontext, out_sid); in sepol_compute_sid()
1475 context_destroy(&newcontext); in sepol_compute_sid()