Home
last modified time | relevance | path

Searched refs:rule_type (Results 1 – 7 of 7) sorted by relevance

/external/selinux/sepolgen/tests/
Dtest_refpolicy.py83 self.assertEquals(a.rule_type, a.ALLOW)
97 a.rule_type = a.DONTAUDIT
109 self.assertEquals(a.rule_type, a.TYPE_TRANSITION)
144 a.rule_type = a.DONTAUDIT
/external/selinux/policycoreutils/sepolicy/
Dsearch.c375 uint32_t rule_type = 0; in get_te_results() local
412 if (qpol_terule_get_rule_type(q, rule, &rule_type)) in get_te_results()
415 if (!(rule_type &= (QPOL_RULE_TYPE_TRANS | QPOL_RULE_TYPE_CHANGE | QPOL_RULE_TYPE_MEMBER))) { in get_te_results()
420 if (!(tmp_name = apol_rule_type_to_str(rule_type))) { in get_te_results()
748 uint32_t rule_type = 0; in get_av_results() local
780 if (qpol_avrule_get_rule_type(q, rule, &rule_type)) in get_av_results()
783 if (!(tmp_name = apol_rule_type_to_str(rule_type))) { in get_av_results()
/external/selinux/sepolgen/src/sepolgen/
Drefpolicy.py459 self.rule_type = self.ALLOW
464 if self.rule_type == self.ALLOW:
466 elif self.rule_type == self.DONTAUDIT:
510 self.rule_type = self.TYPE_TRANSITION
513 if self.rule_type == self.TYPE_TRANSITION:
515 elif self.rule_type == self.TYPE_CHANGE:
Drefparser.py796 a.rule_type = refpolicy.AVRule.DONTAUDIT
798 a.rule_type = refpolicy.AVRule.AUDITALLOW
800 a.rule_type = refpolicy.AVRule.NEVERALLOW
816 t.rule_type = refpolicy.TypeRule.TYPE_CHANGE
818 t.rule_type = refpolicy.TypeRule.TYPE_MEMBER
Dpolicygen.py159 rule.rule_type = rule.DONTAUDIT
Dinterfaces.py265 if avrule.rule_type != refpolicy.AVRule.ALLOW:
/external/v8/
DPRESUBMIT.py120 for path, rule_type, rule_description in deps_checker.CheckAddedCppIncludes(
123 if rule_type == Rule.DISALLOW: