Home
last modified time | relevance | path

Searched refs:AVRule (Results 1 – 8 of 8) sorted by relevance

/external/selinux/python/sepolgen/tests/
Dtest_refpolicy.py155 a = refpolicy.AVRule()
163 a = refpolicy.AVRule()
274 a = refpolicy.AVRule()
289 a = refpolicy.AVRule()
Dtest_policygen.py57 self.assertIsInstance(r, refpolicy.AVRule)
89 if isinstance(r, refpolicy.AVRule):
Dtest_access.py236 rule = refpolicy.AVRule()
271 rule = refpolicy.AVRule()
/external/selinux/python/sepolgen/src/sepolgen/
Drefparser.py797 a = refpolicy.AVRule()
799 a.rule_type = refpolicy.AVRule.DONTAUDIT
801 a.rule_type = refpolicy.AVRule.AUDITALLOW
803 a.rule_type = refpolicy.AVRule.NEVERALLOW
1109 can_exec.children.append(refpolicy.AVRule(av))
Doutput.py103 if isinstance(b, refpolicy.AVRule):
Dpolicygen.py167 rule = refpolicy.AVRule(av)
Drefpolicy.py110 return filter(lambda x: isinstance(x, AVRule), walktree(self))
501 class AVRule(Leaf): class
Dinterfaces.py260 if avrule.rule_type != refpolicy.AVRule.ALLOW: