Home
last modified time | relevance | path

Searched refs:cp_set (Results 1 – 13 of 13) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_find.c179 struct cil_classperms_set *cp_set = curr->data; in __cil_classperms_list_match_any() local
180 struct cil_classpermission *cp = cp_set->set; in __cil_classperms_list_match_any()
208 struct cil_classperms_set *cp_set = curr->data; in cil_classperms_list_match_any() local
209 struct cil_classpermission *cp = cp_set->set; in cil_classperms_list_match_any()
234 struct cil_classperms_set *cp_set = curr->data; in __add_classes_from_classperms_list() local
235 struct cil_classpermission *cp = cp_set->set; in __add_classes_from_classperms_list()
Dcil_reset_ast.c58 static void cil_reset_classperms_set(struct cil_classperms_set *cp_set) in cil_reset_classperms_set() argument
60 cil_reset_classpermission(cp_set->set); in cil_reset_classperms_set()
Dcil_build_ast.h61 …d cil_fill_classperms_set(struct cil_tree_node *parse_current, struct cil_classperms_set **cp_set);
62 void cil_destroy_classperms_set(struct cil_classperms_set *cp_set);
Dcil_policy.c526 struct cil_classperms_set *cp_set = curr->data; in cil_constrain_to_policy_helper() local
527 struct cil_classpermission *cp = cp_set->set; in cil_constrain_to_policy_helper()
566 struct cil_classperms_set *cp_set = i->data; in cil_avrule_to_policy_helper() local
567 struct cil_classpermission *cp = cp_set->set; in cil_avrule_to_policy_helper()
Dcil.c2354 void cil_classperms_set_init(struct cil_classperms_set **cp_set) in cil_classperms_set_init() argument
2356 *cp_set = cil_malloc(sizeof(**cp_set)); in cil_classperms_set_init()
2357 (*cp_set)->set_str = NULL; in cil_classperms_set_init()
2358 (*cp_set)->set = NULL; in cil_classperms_set_init()
Dcil_tree.c482 void cil_tree_print_classperms_set(struct cil_classperms_set *cp_set) in cil_tree_print_classperms_set() argument
484 if (cp_set == NULL) { in cil_tree_print_classperms_set()
488 cil_log(CIL_INFO, " %s", cp_set->set_str); in cil_tree_print_classperms_set()
Dcil_binary.c1383 struct cil_classperms_set *cp_set = curr->data; in __cil_avrule_expand() local
1384 struct cil_classpermission *cp = cp_set->set; in __cil_avrule_expand()
2646 struct cil_classperms_set *cp_set = curr->data; in cil_constrain_expand() local
2647 struct cil_classpermission *cp = cp_set->set; in cil_constrain_expand()
4132 struct cil_classperms_set *cp_set = i->data; in __cil_rule_to_sepol_class_perms() local
4133 struct cil_classpermission *cp = cp_set->set; in __cil_rule_to_sepol_class_perms()
4290 struct cil_classperms_set *cp_set = i1->data; in __cil_print_classperm() local
4291 cil_log(CIL_ERR,"%s", DATUM(cp_set->set)->fqn); in __cil_print_classperm()
Dcil_copy_ast.c209 struct cil_classperms_set *cp_set; in cil_copy_classperms_list() local
210 cil_copy_classperms_set(orig_item->data, &cp_set); in cil_copy_classperms_list()
211 cil_list_append(*new, CIL_CLASSPERMS_SET, cp_set); in cil_copy_classperms_list()
Dcil_verify.c1525 struct cil_classperms_set *cp_set = curr->data; in __cil_verify_classperms() local
1526 struct cil_classpermission *cp = cp_set->set; in __cil_verify_classperms()
Dcil_internal.h998 void cil_classperms_set_init(struct cil_classperms_set **cp_set);
Dcil_build_ast.c625 …id cil_fill_classperms_set(struct cil_tree_node *parse_current, struct cil_classperms_set **cp_set) in cil_fill_classperms_set() argument
627 cil_classperms_set_init(cp_set); in cil_fill_classperms_set()
628 (*cp_set)->set_str = parse_current->data; in cil_fill_classperms_set()
631 void cil_destroy_classperms_set(struct cil_classperms_set *cp_set) in cil_destroy_classperms_set() argument
633 if (cp_set == NULL) { in cil_destroy_classperms_set()
637 free(cp_set); in cil_destroy_classperms_set()
Dcil_resolve_ast.c180 int cil_resolve_classperms_set(struct cil_tree_node *current, struct cil_classperms_set *cp_set, vo… in cil_resolve_classperms_set() argument
185 rc = cil_resolve_name(current, cp_set->set_str, CIL_SYM_CLASSPERMSETS, extra_args, &datum); in cil_resolve_classperms_set()
189 cp_set->set = (struct cil_classpermission*)datum; in cil_resolve_classperms_set()
193 rc = cil_resolve_classperms_list(current, cp_set->set->classperms, extra_args); in cil_resolve_classperms_set()
Dcil_post.c1787 struct cil_classperms_set *cp_set = curr->data; in __evaluate_classperms_list() local
1788 struct cil_classpermission *cp = cp_set->set; in __evaluate_classperms_list()