Lines Matching refs:classperms
236 static void __add_classes_from_classperms_list(struct cil_list *classperms, struct cil_list *class_list)
240 cil_list_for_each(curr, classperms) {
249 __add_classes_from_classperms_list(cmp->classperms, class_list);
255 __add_classes_from_classperms_list(cp->classperms, class_list);
265 __add_classes_from_classperms_list(cmp->classperms, class_list);
1459 int __cil_avrule_expand(policydb_t *pdb, uint16_t kind, struct cil_symtab_datum *src, struct cil_symtab_datum *tgt, struct cil_list *classperms, struct cil_list *neverallows, cond_node_t *cond_node, enum cil_flavor cond_flavor)
1464 cil_list_for_each(curr, classperms) {
1476 rc = __cil_avrule_expand(pdb, kind, src, tgt, cmp->classperms, neverallows, cond_node, cond_flavor);
1485 rc = __cil_avrule_expand(pdb, kind, src, tgt, cp->classperms, neverallows, cond_node, cond_flavor);
1504 struct cil_list *classperms = cil_avrule->classperms;
1533 rc = __cil_avrule_expand(pdb, kind, src, src, classperms, neverallows, cond_node, cond_flavor);
1541 rc = __cil_avrule_expand(pdb, kind, src, tgt, classperms, neverallows, cond_node, cond_flavor);
2325 int cil_constrain_expand(policydb_t *pdb, const struct cil_db *db, struct cil_list *classperms, struct cil_list *expr)
2330 cil_list_for_each(curr, classperms) {
2342 rc = cil_constrain_expand(pdb, db, cmp->classperms, expr);
2351 rc = cil_constrain_expand(pdb, db, cp->classperms, expr);
2367 rc = cil_constrain_expand(pdb, db, cil_constrain->classperms, cil_constrain->datum_expr);