Searched refs:cp_set (Results 1 – 13 of 13) sorted by relevance
/third_party/selinux/libsepol/cil/src/ |
D | cil_find.c | 184 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()
|
D | cil_reset_ast.c | 61 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()
|
D | cil_build_ast.h | 63 …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);
|
D | cil.c | 2698 void cil_classperms_set_init(struct cil_classperms_set **cp_set) in cil_classperms_set_init() argument 2700 *cp_set = cil_malloc(sizeof(**cp_set)); in cil_classperms_set_init() 2701 (*cp_set)->set_str = NULL; in cil_classperms_set_init() 2702 (*cp_set)->set = NULL; in cil_classperms_set_init()
|
D | cil_write_ast.c | 284 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()
|
D | cil_binary.c | 1456 struct cil_classperms_set *cp_set = curr->data; in __cil_avrule_expand() local 1457 struct cil_classpermission *cp = cp_set->set; in __cil_avrule_expand() 2960 struct cil_classperms_set *cp_set = curr->data; in cil_constrain_expand() local 2961 struct cil_classpermission *cp = cp_set->set; in cil_constrain_expand() 4518 struct cil_classperms_set *cp_set = i->data; in __cil_rule_to_sepol_class_perms() local 4519 struct cil_classpermission *cp = cp_set->set; in __cil_rule_to_sepol_class_perms() 4686 struct cil_classperms_set *cp_set = i1->data; in __cil_print_classperm() local 4687 cil_log(CIL_ERR,"%s", DATUM(cp_set->set)->fqn); in __cil_print_classperm()
|
D | cil_copy_ast.c | 218 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()
|
D | cil_internal.h | 1063 void cil_classperms_set_init(struct cil_classperms_set **cp_set);
|
D | cil_verify.c | 1773 struct cil_classperms_set *cp_set = curr->data; in __cil_verify_classperms() local 1774 struct cil_classpermission *cp = cp_set->set; in __cil_verify_classperms()
|
D | cil_build_ast.c | 735 …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()
|
D | cil_policy.c | 702 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()
|
D | cil_resolve_ast.c | 194 …_classperms_set(struct cil_tree_node *current, struct cil_classperms_set *cp_set, void *extra_args) in cil_resolve_classperms_set() argument 199 rc = cil_resolve_name(current, cp_set->set_str, CIL_SYM_CLASSPERMSETS, extra_args, &datum); in cil_resolve_classperms_set() 203 cp_set->set = (struct cil_classpermission*)datum; in cil_resolve_classperms_set() 207 rc = cil_resolve_classperms_list(current, cp_set->set->classperms, extra_args); in cil_resolve_classperms_set()
|
D | cil_post.c | 2157 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()
|