Searched refs:catorder (Results 1 – 10 of 10) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil.c | 249 (*db)->catorder = NULL; in cil_db_init() 298 cil_list_destroy(&(*db)->catorder, CIL_FALSE); in cil_db_destroy() 2456 void cil_catorder_init(struct cil_catorder **catorder) in cil_catorder_init() argument 2458 *catorder = cil_malloc(sizeof(**catorder)); in cil_catorder_init() 2460 (*catorder)->cat_list_str = NULL; in cil_catorder_init()
|
D | cil_internal.h | 276 struct cil_list *catorder; member 1007 void cil_catorder_init(struct cil_catorder **catorder);
|
D | cil_tree.c | 1181 struct cil_catorder *catorder = node->data; in cil_tree_print_node() local 1184 if (catorder->cat_list_str == NULL) { in cil_tree_print_node() 1190 cil_list_for_each(cat, catorder->cat_list_str) { in cil_tree_print_node()
|
D | cil_build_ast.c | 3583 struct cil_catorder *catorder = NULL; in cil_gen_catorder() local 3596 cil_catorder_init(&catorder); in cil_gen_catorder() 3598 rc = cil_fill_list(parse_current->next->cl_head, CIL_CATORDER, &catorder->cat_list_str); in cil_gen_catorder() 3603 cil_list_for_each(curr, catorder->cat_list_str) { in cil_gen_catorder() 3611 ast_node->data = catorder; in cil_gen_catorder() 3619 cil_destroy_catorder(catorder); in cil_gen_catorder() 3623 void cil_destroy_catorder(struct cil_catorder *catorder) in cil_destroy_catorder() argument 3625 if (catorder == NULL) { in cil_destroy_catorder() 3629 if (catorder->cat_list_str != NULL) { in cil_destroy_catorder() 3630 cil_list_destroy(&catorder->cat_list_str, 1); in cil_destroy_catorder() [all …]
|
D | cil_build_ast.h | 156 void cil_destroy_catorder(struct cil_catorder *catorder);
|
D | cil_resolve_ast.c | 1504 struct cil_catorder *catorder = current->data; in cil_resolve_catorder() local 1514 cil_list_for_each(curr, catorder->cat_list_str) { in cil_resolve_catorder() 3835 db->catorder = __cil_ordered_lists_merge_all(&extra_args.catorder_lists, NULL); in cil_resolve_ast() 3836 if (db->catorder == NULL) { in cil_resolve_ast() 3840 cil_set_cat_values(db->catorder, db); in cil_resolve_ast() 3886 cil_list_destroy(&db->catorder, CIL_FALSE); in cil_resolve_ast()
|
D | cil_policy.c | 1294 if (db->catorder->head != NULL) { in cil_gen_policy() 1295 cil_list_for_each(item, db->catorder) { in cil_gen_policy()
|
D | cil_post.c | 856 cil_list_for_each(curr, db->catorder) { in __evaluate_cat_expression()
|
D | cil_binary.c | 799 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 …]
|