Lines Matching refs:CIL_AVRULE
1498 int __cil_avrule_to_avtab(policydb_t *pdb, const struct cil_db *db, struct cil_avrule *cil_avrule, struct cil_list *neverallows, cond_node_t *cond_node, enum cil_flavor cond_flavor)
1501 uint16_t kind = cil_avrule->rule_kind;
1504 struct cil_list *classperms = cil_avrule->classperms;
1506 if (cil_avrule->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) {
1512 if (cil_avrule->rule_kind == CIL_AVRULE_NEVERALLOW && db->disable_neverallow == CIL_TRUE) {
1518 src = cil_avrule->src;
1519 tgt = cil_avrule->tgt;
1551 int cil_avrule_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_avrule *cil_avrule, struct cil_list *neverallows)
1553 return __cil_avrule_to_avtab(pdb, db, cil_avrule, neverallows, NULL, CIL_FALSE);
1566 struct cil_avrule *cil_avrule;
1594 case CIL_AVRULE:
1595 cil_avrule = node->data;
1596 rc = __cil_avrule_to_avtab(pdb, db, cil_avrule, args->neverallows, cond_node, cond_flavor);
3203 case CIL_AVRULE: {
3204 struct cil_avrule *rule = node->data;
3266 case CIL_AVRULE: {
3267 struct cil_avrule *rule = node->data;