Home
last modified time | relevance | path

Searched refs:SecurityContext (Results 1 – 5 of 5) sorted by relevance

/external/selinux/sepolgen/tests/
Dtest_refpolicy.py34 sc = refpolicy.SecurityContext()
35 sc = refpolicy.SecurityContext("user_u:object_r:foo_t")
39 sc = refpolicy.SecurityContext()
52 sc = refpolicy.SecurityContext()
61 sc = refpolicy.SecurityContext()
65 sc1 = refpolicy.SecurityContext("user_u:object_r:foo_t")
66 sc2 = refpolicy.SecurityContext("user_u:object_r:foo_t")
67 sc3 = refpolicy.SecurityContext("user_u:object_r:foo_t:s0")
68 sc4 = refpolicy.SecurityContext("user_u:object_r:bar_t")
Dtest_audit.py62 sc = sepolgen.refpolicy.SecurityContext()
/external/selinux/sepolgen/src/sepolgen/
Daudit.py165 self.scontext = refpolicy.SecurityContext()
166 self.tcontext = refpolicy.SecurityContext()
219 self.scontext = refpolicy.SecurityContext(fields[1])
222 self.tcontext = refpolicy.SecurityContext(fields[1])
301 self.invalid_context = refpolicy.SecurityContext()
302 self.scontext = refpolicy.SecurityContext()
303 self.tcontext = refpolicy.SecurityContext()
312 self.invalid_context = refpolicy.SecurityContext(recs[5])
313 self.scontext = refpolicy.SecurityContext(recs[7].split("=")[1])
314 self.tcontext = refpolicy.SecurityContext(recs[8].split("=")[1])
Drefparser.py572 s = refpolicy.SecurityContext()
Drefpolicy.py260 class SecurityContext(Leaf): class