Lines Matching refs:newcontext
1641 struct context *newcontext) in compute_sid_handle_invalid_context() argument
1653 if (context_struct_to_string(policydb, newcontext, &n, &nlen)) in compute_sid_handle_invalid_context()
1675 struct context *newcontext, in filename_compute_type() argument
1697 newcontext->type = datum->otype; in filename_compute_type()
1716 struct context *scontext, *tcontext, newcontext; in security_compute_sid() local
1738 context_init(&newcontext); in security_compute_sid()
1782 newcontext.user = tcontext->user; in security_compute_sid()
1786 newcontext.user = scontext->user; in security_compute_sid()
1791 newcontext.user = tcontext->user; in security_compute_sid()
1797 newcontext.role = scontext->role; in security_compute_sid()
1799 newcontext.role = tcontext->role; in security_compute_sid()
1802 newcontext.role = scontext->role; in security_compute_sid()
1804 newcontext.role = OBJECT_R_VAL; in security_compute_sid()
1832 newcontext.type = avnode->datum.u.data; in security_compute_sid()
1834 newcontext.type = scontext->type; in security_compute_sid()
1836 newcontext.type = tcontext->type; in security_compute_sid()
1840 newcontext.type = scontext->type; in security_compute_sid()
1843 newcontext.type = tcontext->type; in security_compute_sid()
1849 filename_compute_type(policydb, &newcontext, scontext->type, in security_compute_sid()
1864 newcontext.role = rtd->new_role; in security_compute_sid()
1870 &newcontext, sock); in security_compute_sid()
1875 if (!policydb_context_isvalid(policydb, &newcontext)) { in security_compute_sid()
1878 &newcontext); in security_compute_sid()
1883 rc = sidtab_context_to_sid(sidtab, &newcontext, out_sid); in security_compute_sid()
1886 context_destroy(&newcontext); in security_compute_sid()
1891 context_destroy(&newcontext); in security_compute_sid()