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.c183 struct cil_classperms_set *cp_set = curr->data; in __cil_classperms_list_match_any() local
184 struct cil_classpermission *cp = cp_set->set; in __cil_classperms_list_match_any()
212 struct cil_classperms_set *cp_set = curr->data; in cil_classperms_list_match_any() local
213 struct cil_classpermission *cp = cp_set->set; in cil_classperms_list_match_any()
238 struct cil_classperms_set *cp_set = curr->data; in __add_classes_from_classperms_list() local
239 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.c2604 void cil_classperms_set_init(struct cil_classperms_set **cp_set) in cil_classperms_set_init() argument
2606 *cp_set = cil_malloc(sizeof(**cp_set)); in cil_classperms_set_init()
2607 (*cp_set)->set_str = NULL; in cil_classperms_set_init()
2608 (*cp_set)->set = NULL; in cil_classperms_set_init()
Dcil_tree.c572 void cil_tree_print_classperms_set(struct cil_classperms_set *cp_set) in cil_tree_print_classperms_set() argument
574 if (cp_set == NULL) { in cil_tree_print_classperms_set()
578 cil_log(CIL_INFO, " %s", cp_set->set_str); in cil_tree_print_classperms_set()
Dcil_binary.c1390 struct cil_classperms_set *cp_set = curr->data; in __cil_avrule_expand() local
1391 struct cil_classpermission *cp = cp_set->set; in __cil_avrule_expand()
2787 struct cil_classperms_set *cp_set = curr->data; in cil_constrain_expand() local
2788 struct cil_classpermission *cp = cp_set->set; in cil_constrain_expand()
4301 struct cil_classperms_set *cp_set = i->data; in __cil_rule_to_sepol_class_perms() local
4302 struct cil_classpermission *cp = cp_set->set; in __cil_rule_to_sepol_class_perms()
4468 struct cil_classperms_set *cp_set = i1->data; in __cil_print_classperm() local
4469 cil_log(CIL_ERR,"%s", DATUM(cp_set->set)->fqn); in __cil_print_classperm()
Dcil_verify.c1596 struct cil_classperms_set *cp_set = curr->data; in __cil_verify_classperms() local
1597 struct cil_classpermission *cp = cp_set->set; in __cil_verify_classperms()
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_internal.h1051 void cil_classperms_set_init(struct cil_classperms_set **cp_set);
Dcil_resolve_ast.c184 int cil_resolve_classperms_set(struct cil_tree_node *current, struct cil_classperms_set *cp_set, vo… in cil_resolve_classperms_set() argument
189 rc = cil_resolve_name(current, cp_set->set_str, CIL_SYM_CLASSPERMSETS, extra_args, &datum); in cil_resolve_classperms_set()
193 cp_set->set = (struct cil_classpermission*)datum; in cil_resolve_classperms_set()
197 rc = cil_resolve_classperms_list(current, cp_set->set->classperms, extra_args); in cil_resolve_classperms_set()
Dcil_policy.c701 struct cil_classperms_set *cp_set = i1->data; in cil_classperms_to_strings() local
702 struct cil_classpermission *cp = cp_set->set; in cil_classperms_to_strings()
Dcil_build_ast.c664 …id cil_fill_classperms_set(struct cil_tree_node *parse_current, struct cil_classperms_set **cp_set) in cil_fill_classperms_set() argument
666 cil_classperms_set_init(cp_set); in cil_fill_classperms_set()
667 (*cp_set)->set_str = parse_current->data; in cil_fill_classperms_set()
670 void cil_destroy_classperms_set(struct cil_classperms_set *cp_set) in cil_destroy_classperms_set() argument
672 if (cp_set == NULL) { in cil_destroy_classperms_set()
676 free(cp_set); in cil_destroy_classperms_set()
Dcil_post.c2135 struct cil_classperms_set *cp_set = curr->data; in __evaluate_classperms_list() local
2136 struct cil_classpermission *cp = cp_set->set; in __evaluate_classperms_list()