Lines Matching refs:classperms
1432 … cil_symtab_datum *src, struct cil_symtab_datum *tgt, struct cil_list *classperms, cond_node_t *co… in __cil_avrule_expand() argument
1437 cil_list_for_each(curr, classperms) { in __cil_avrule_expand()
1449 rc = __cil_avrule_expand(pdb, kind, src, tgt, cmp->classperms, cond_node, cond_flavor); in __cil_avrule_expand()
1458 rc = __cil_avrule_expand(pdb, kind, src, tgt, cp->classperms, cond_node, cond_flavor); in __cil_avrule_expand()
1493 struct cil_list *classperms = cil_avrule->perms.classperms; in __cil_avrule_to_avtab() local
1515 rc = __cil_avrule_expand(pdb, kind, src, src, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
1526 rc = __cil_avrule_expand(pdb, kind, src, tgt, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
1547 rc = __cil_avrule_expand(pdb, kind, src, tgt, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
1566 rc = __cil_avrule_expand(pdb, kind, src, tgt, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
1582 rc = __cil_avrule_expand(pdb, kind, src, tgt, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
2936 …rain_expand(policydb_t *pdb, const struct cil_db *db, struct cil_list *classperms, struct cil_list… in cil_constrain_expand() argument
2941 cil_list_for_each(curr, classperms) { in cil_constrain_expand()
2953 rc = cil_constrain_expand(pdb, db, cmp->classperms, expr); in cil_constrain_expand()
2962 rc = cil_constrain_expand(pdb, db, cp->classperms, expr); in cil_constrain_expand()
2978 rc = cil_constrain_expand(pdb, db, cil_constrain->classperms, cil_constrain->datum_expr); in cil_constrain_to_policydb()
4483 static int __cil_rule_to_sepol_class_perms(policydb_t *pdb, struct cil_list *classperms, class_perm… in __cil_rule_to_sepol_class_perms() argument
4487 cil_list_for_each(i, classperms) { in __cil_rule_to_sepol_class_perms()
4511 rc = __cil_rule_to_sepol_class_perms(pdb, cmp->classperms, sepol_class_perms); in __cil_rule_to_sepol_class_perms()
4520 rc = __cil_rule_to_sepol_class_perms(pdb, cp->classperms, sepol_class_perms); in __cil_rule_to_sepol_class_perms()
4718 __cil_print_classperm(avrule->perms.classperms); in __cil_print_rule()
4824 rc = __cil_rule_to_sepol_class_perms(pdb, cil_rule->perms.classperms, &rule->perms); in cil_check_neverallow()
4936 …cil_rule->perms.classperms = cil_classperms_from_sepol(pdb, k->target_class, d->data, class_value_… in cil_avrule_from_sepol()
4937 if (!cil_rule->perms.classperms) goto exit; in cil_avrule_from_sepol()
5003 cil_list_destroy(&target.perms.classperms, CIL_TRUE); in cil_check_type_bounds()
5027 cil_list_destroy(&target.perms.classperms, CIL_TRUE); in cil_check_type_bounds()