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.c2441 void cil_classperms_set_init(struct cil_classperms_set **cp_set) in cil_classperms_set_init() argument
2443 *cp_set = cil_malloc(sizeof(**cp_set)); in cil_classperms_set_init()
2444 (*cp_set)->set_str = NULL; in cil_classperms_set_init()
2445 (*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.c1421 struct cil_classperms_set *cp_set = curr->data; in __cil_avrule_expand() local
1422 struct cil_classpermission *cp = cp_set->set; in __cil_avrule_expand()
2850 struct cil_classperms_set *cp_set = curr->data; in cil_constrain_expand() local
2851 struct cil_classpermission *cp = cp_set->set; in cil_constrain_expand()
4420 struct cil_classperms_set *cp_set = i->data; in __cil_rule_to_sepol_class_perms() local
4421 struct cil_classpermission *cp = cp_set->set; in __cil_rule_to_sepol_class_perms()
4588 struct cil_classperms_set *cp_set = i1->data; in __cil_print_classperm() local
4589 cil_log(CIL_ERR,"%s", DATUM(cp_set->set)->fqn); in __cil_print_classperm()
Dcil_verify.c1570 struct cil_classperms_set *cp_set = curr->data; in __cil_verify_classperms() local
1571 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.h1049 void cil_classperms_set_init(struct cil_classperms_set **cp_set);
Dcil_resolve_ast.c188 int cil_resolve_classperms_set(struct cil_tree_node *current, struct cil_classperms_set *cp_set, vo… in cil_resolve_classperms_set() argument
193 rc = cil_resolve_name(current, cp_set->set_str, CIL_SYM_CLASSPERMSETS, extra_args, &datum); in cil_resolve_classperms_set()
197 cp_set->set = (struct cil_classpermission*)datum; in cil_resolve_classperms_set()
201 rc = cil_resolve_classperms_list(current, cp_set->set->classperms, extra_args); in cil_resolve_classperms_set()
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_policy.c705 struct cil_classperms_set *cp_set = i1->data; in cil_classperms_to_strings() local
706 struct cil_classpermission *cp = cp_set->set; in cil_classperms_to_strings()
Dcil_post.c2143 struct cil_classperms_set *cp_set = curr->data; in __evaluate_classperms_list() local
2144 struct cil_classpermission *cp = cp_set->set; in __evaluate_classperms_list()