Searched refs:catorder (Results 1 – 10 of 10) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil.c | 257 (*db)->catorder = NULL; in cil_db_init() 310 cil_list_destroy(&(*db)->catorder, CIL_FALSE); in cil_db_destroy() 2543 void cil_catorder_init(struct cil_catorder **catorder) in cil_catorder_init() argument 2545 *catorder = cil_malloc(sizeof(**catorder)); in cil_catorder_init() 2547 (*catorder)->cat_list_str = NULL; in cil_catorder_init()
|
D | cil_internal.h | 286 struct cil_list *catorder; member 1058 void cil_catorder_init(struct cil_catorder **catorder);
|
D | cil_tree.c | 1282 struct cil_catorder *catorder = node->data; in cil_tree_print_node() local 1285 if (catorder->cat_list_str == NULL) { in cil_tree_print_node() 1291 cil_list_for_each(cat, catorder->cat_list_str) { in cil_tree_print_node()
|
D | cil_build_ast.c | 3651 struct cil_catorder *catorder = NULL; in cil_gen_catorder() local 3664 cil_catorder_init(&catorder); in cil_gen_catorder() 3666 rc = cil_fill_list(parse_current->next->cl_head, CIL_CATORDER, &catorder->cat_list_str); in cil_gen_catorder() 3671 cil_list_for_each(curr, catorder->cat_list_str) { in cil_gen_catorder() 3679 ast_node->data = catorder; in cil_gen_catorder() 3686 cil_destroy_catorder(catorder); in cil_gen_catorder() 3690 void cil_destroy_catorder(struct cil_catorder *catorder) in cil_destroy_catorder() argument 3692 if (catorder == NULL) { in cil_destroy_catorder() 3696 if (catorder->cat_list_str != NULL) { in cil_destroy_catorder() 3697 cil_list_destroy(&catorder->cat_list_str, 1); in cil_destroy_catorder() [all …]
|
D | cil_resolve_ast.c | 1560 struct cil_catorder *catorder = current->data; in cil_resolve_catorder() local 1570 cil_list_for_each(curr, catorder->cat_list_str) { in cil_resolve_catorder() 3955 db->catorder = __cil_ordered_lists_merge_all(&extra_args.catorder_lists, NULL); in cil_resolve_ast() 3956 if (db->catorder == NULL) { in cil_resolve_ast() 3960 cil_set_cat_values(db->catorder, db); in cil_resolve_ast() 4006 cil_list_destroy(&db->catorder, CIL_FALSE); in cil_resolve_ast()
|
D | cil_build_ast.h | 158 void cil_destroy_catorder(struct cil_catorder *catorder);
|
D | cil_policy.c | 903 static void cil_categories_to_policy(FILE *out, struct cil_list *catorder, struct cil_list *all_ali… in cil_categories_to_policy() argument 912 cil_list_for_each(i1, catorder) { in cil_categories_to_policy() 1941 cil_categories_to_policy(out, db->catorder, lists[CIL_LIST_CATALIAS]); in cil_gen_policy()
|
D | cil_post.c | 1107 cil_list_for_each(curr, db->catorder) { in __evaluate_cat_expression()
|
D | cil_binary.c | 814 cil_list_for_each(curr_cat, db->catorder) { in cil_catorder_to_policydb()
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_resolve_ast.c | 696 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_cat_list_catrange() 831 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_catrange() 856 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_catrange_catloworder_neg() 858 test_db->catorder->head = test_db->catorder->head->next; in test_cil_resolve_catrange_catloworder_neg() 859 test_db->catorder->head->next = NULL; in test_cil_resolve_catrange_catloworder_neg() 884 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_catrange_cathighorder_neg() 909 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_catrange_cat1_neg() 934 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_catrange_cat2_neg() 1070 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_senscat_sublist() 1145 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_senscat_currrangecat() [all …]
|