Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/cil/src/
Dcil_find.c184 struct cil_classperms_set *cp_set = curr->data; in __cil_classperms_list_match_any() local
185 struct cil_classpermission *cp = cp_set->set; in __cil_classperms_list_match_any()
213 struct cil_classperms_set *cp_set = curr->data; in cil_classperms_list_match_any() local
214 struct cil_classpermission *cp = cp_set->set; in cil_classperms_list_match_any()
239 struct cil_classperms_set *cp_set = curr->data; in __add_classes_from_classperms_list() local
240 struct cil_classpermission *cp = cp_set->set; in __add_classes_from_classperms_list()
Dcil_reset_ast.c61 static void cil_reset_classperms_set(struct cil_classperms_set *cp_set) in cil_reset_classperms_set() argument
63 if (cp_set == NULL || cp_set->set == NULL) { in cil_reset_classperms_set()
67 if (cp_set->set->datum.name == NULL) { in cil_reset_classperms_set()
68 cil_reset_classperms_list(cp_set->set->classperms); in cil_reset_classperms_set()
71 cp_set->set = NULL; in cil_reset_classperms_set()
Dcil_build_ast.h63 …d cil_fill_classperms_set(struct cil_tree_node *parse_current, struct cil_classperms_set **cp_set);
64 void cil_destroy_classperms_set(struct cil_classperms_set *cp_set);
Dcil.c2688 void cil_classperms_set_init(struct cil_classperms_set **cp_set) in cil_classperms_set_init() argument
2690 *cp_set = cil_malloc(sizeof(**cp_set)); in cil_classperms_set_init()
2691 (*cp_set)->set_str = NULL; in cil_classperms_set_init()
2692 (*cp_set)->set = NULL; in cil_classperms_set_init()
Dcil_write_ast.c284 struct cil_classperms_set *cp_set = curr->data; in write_classperms_list() local
285 struct cil_classpermission *cp = cp_set->set; in write_classperms_list()
292 fprintf(out, "%s", cp_set->set_str); in write_classperms_list()
Dcil_binary.c1374 struct cil_classperms_set *cp_set = curr->data; in __cil_avrule_expand() local
1375 struct cil_classpermission *cp = cp_set->set; in __cil_avrule_expand()
2872 struct cil_classperms_set *cp_set = curr->data; in cil_constrain_expand() local
2873 struct cil_classpermission *cp = cp_set->set; in cil_constrain_expand()
4384 struct cil_classperms_set *cp_set = i->data; in __cil_rule_to_sepol_class_perms() local
4385 struct cil_classpermission *cp = cp_set->set; in __cil_rule_to_sepol_class_perms()
4552 struct cil_classperms_set *cp_set = i1->data; in __cil_print_classperm() local
4553 cil_log(CIL_ERR,"%s", DATUM(cp_set->set)->fqn); in __cil_print_classperm()
Dcil_copy_ast.c218 struct cil_classperms_set *cp_set; in cil_copy_classperms_list() local
219 cil_copy_classperms_set(orig_item->data, &cp_set); in cil_copy_classperms_list()
220 cil_list_append(*new, CIL_CLASSPERMS_SET, cp_set); in cil_copy_classperms_list()
Dcil_internal.h1062 void cil_classperms_set_init(struct cil_classperms_set **cp_set);
Dcil_verify.c1771 struct cil_classperms_set *cp_set = curr->data; in __cil_verify_classperms() local
1772 struct cil_classpermission *cp = cp_set->set; in __cil_verify_classperms()
Dcil_build_ast.c735 …id cil_fill_classperms_set(struct cil_tree_node *parse_current, struct cil_classperms_set **cp_set) in cil_fill_classperms_set() argument
737 cil_classperms_set_init(cp_set); in cil_fill_classperms_set()
738 (*cp_set)->set_str = parse_current->data; in cil_fill_classperms_set()
741 void cil_destroy_classperms_set(struct cil_classperms_set *cp_set) in cil_destroy_classperms_set() argument
743 if (cp_set == NULL) { in cil_destroy_classperms_set()
747 free(cp_set); in cil_destroy_classperms_set()
Dcil_policy.c702 struct cil_classperms_set *cp_set = i1->data; in cil_classperms_to_strings() local
703 struct cil_classpermission *cp = cp_set->set; in cil_classperms_to_strings()
Dcil_resolve_ast.c193 int cil_resolve_classperms_set(struct cil_tree_node *current, struct cil_classperms_set *cp_set, vo… in cil_resolve_classperms_set() argument
198 rc = cil_resolve_name(current, cp_set->set_str, CIL_SYM_CLASSPERMSETS, extra_args, &datum); in cil_resolve_classperms_set()
202 cp_set->set = (struct cil_classpermission*)datum; in cil_resolve_classperms_set()
206 rc = cil_resolve_classperms_list(current, cp_set->set->classperms, extra_args); in cil_resolve_classperms_set()
Dcil_post.c2157 struct cil_classperms_set *cp_set = curr->data; in __evaluate_classperms_list() local
2158 struct cil_classpermission *cp = cp_set->set; in __evaluate_classperms_list()