Searched refs:rule_type (Results 1 – 7 of 7) sorted by relevance
83 self.assertEquals(a.rule_type, a.ALLOW)97 a.rule_type = a.DONTAUDIT109 self.assertEquals(a.rule_type, a.TYPE_TRANSITION)144 a.rule_type = a.DONTAUDIT
375 uint32_t rule_type = 0; in get_te_results() local412 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() local780 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()
459 self.rule_type = self.ALLOW464 if self.rule_type == self.ALLOW:466 elif self.rule_type == self.DONTAUDIT:510 self.rule_type = self.TYPE_TRANSITION513 if self.rule_type == self.TYPE_TRANSITION:515 elif self.rule_type == self.TYPE_CHANGE:
796 a.rule_type = refpolicy.AVRule.DONTAUDIT798 a.rule_type = refpolicy.AVRule.AUDITALLOW800 a.rule_type = refpolicy.AVRule.NEVERALLOW816 t.rule_type = refpolicy.TypeRule.TYPE_CHANGE818 t.rule_type = refpolicy.TypeRule.TYPE_MEMBER
159 rule.rule_type = rule.DONTAUDIT
265 if avrule.rule_type != refpolicy.AVRule.ALLOW:
120 for path, rule_type, rule_description in deps_checker.CheckAddedCppIncludes(123 if rule_type == Rule.DISALLOW: