Home
last modified time | relevance | path

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

/external/selinux/python/sepolgen/tests/
Dtest_refpolicy.py107 sc = refpolicy.SecurityContext()
108 sc = refpolicy.SecurityContext("user_u:object_r:foo_t")
112 sc = refpolicy.SecurityContext()
125 sc = refpolicy.SecurityContext()
134 sc = refpolicy.SecurityContext()
138 sc1 = refpolicy.SecurityContext("user_u:object_r:foo_t")
139 sc2 = refpolicy.SecurityContext("user_u:object_r:foo_t")
140 sc3 = refpolicy.SecurityContext("user_u:object_r:foo_t:s0")
141 sc4 = refpolicy.SecurityContext("user_u:object_r:bar_t")
Dtest_audit.py74 sc = sepolgen.refpolicy.SecurityContext()
/external/selinux/python/sepolgen/src/sepolgen/
Daudit.py173 self.scontext = refpolicy.SecurityContext()
174 self.tcontext = refpolicy.SecurityContext()
228 self.scontext = refpolicy.SecurityContext(fields[1])
231 self.tcontext = refpolicy.SecurityContext(fields[1])
315 self.invalid_context = refpolicy.SecurityContext()
316 self.scontext = refpolicy.SecurityContext()
317 self.tcontext = refpolicy.SecurityContext()
326 self.invalid_context = refpolicy.SecurityContext(recs[5])
327 self.scontext = refpolicy.SecurityContext(recs[7].split("=")[1])
328 self.tcontext = refpolicy.SecurityContext(recs[8].split("=")[1])
Drefparser.py575 s = refpolicy.SecurityContext()
Drefpolicy.py265 class SecurityContext(Leaf): class