Searched refs:cil_class (Results 1 – 17 of 17) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_internal.h | 368 struct cil_class { struct 372 struct cil_class *common; /* Only used for kernel class */ argument 387 struct cil_class *class; argument 566 struct cil_class *obj; 580 struct cil_class *obj; 621 struct cil_class *obj; 637 struct cil_class *obj; 648 struct cil_class *obj; 863 struct cil_class *class; 998 void cil_class_init(struct cil_class **class);
|
D | cil_binary.h | 74 int cil_common_to_policydb(policydb_t *pdb, struct cil_class *cil_common, common_datum_t **common_o… 84 int cil_class_to_policydb(policydb_t *pdb, struct cil_class *cil_class);
|
D | cil_find.h | 38 struct cil_list *cil_expand_class(struct cil_class *class);
|
D | cil_find.c | 147 struct cil_class *c1 = cp1->class; in cil_classperms_match_any() 148 struct cil_class *c2 = cp2->class; in cil_classperms_match_any() 255 struct cil_list *cil_expand_class(struct cil_class *class) in cil_expand_class()
|
D | cil_verify.c | 390 struct cil_class *class = node->data; in __cil_verify_ordered_node_helper() 1275 struct cil_class *class; in __cil_verify_permissionx() 1326 struct cil_class *class = node->data; in __cil_verify_class() 1329 struct cil_class *common = class->common; in __cil_verify_class() 1613 struct cil_class *class; 1643 struct cil_class *mc = node->data; in __cil_verify_map_class()
|
D | cil_resolve_ast.c | 162 struct cil_class *class; in cil_resolve_classperms() 169 class = (struct cil_class *)datum; in cil_resolve_classperms() 298 permx->obj = (struct cil_class*)obj_datum; in cil_resolve_permissionx() 394 rule->obj = (struct cil_class*)obj_datum; in cil_resolve_type_rule() 646 nametypetrans->obj = (struct cil_class*)obj_datum; in cil_resolve_nametypetransition() 702 rangetrans->obj = (struct cil_class*)obj_datum; in cil_resolve_rangetransition() 742 struct cil_class *class = NULL; in cil_resolve_classcommon() 743 struct cil_class *common = NULL; in cil_resolve_classcommon() 759 class = (struct cil_class *)class_datum; in cil_resolve_classcommon() 760 common = (struct cil_class *)common_datum; in cil_resolve_classcommon() [all …]
|
D | cil_reset_ast.c | 22 static void cil_reset_class(struct cil_class *class) in cil_reset_class() 25 struct cil_class *common = class->common; in cil_reset_class()
|
D | cil_binary.c | 248 int cil_common_to_policydb(policydb_t *pdb, struct cil_class *cil_common, common_datum_t **common_o… in cil_common_to_policydb() 296 int cil_classorder_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_class *class_va… in cil_classorder_to_policydb() 302 struct cil_class *cil_class = curr_class->data; in cil_classorder_to_policydb() local 311 key = cil_strdup(cil_class->datum.fqn); in cil_classorder_to_policydb() 320 class_value_to_cil[class_index] = cil_class; in cil_classorder_to_policydb() 327 if (cil_class->common != NULL) { in cil_classorder_to_policydb() 329 struct cil_class *cil_common = cil_class->common; in cil_classorder_to_policydb() 331 key = cil_class->common->datum.fqn; in cil_classorder_to_policydb() 343 for (curr = NODE(cil_class->common)->cl_head, i = 1; curr; curr = curr->next, i++) { in cil_classorder_to_policydb() 349 for (curr = NODE(cil_class)->cl_head; curr; curr = curr->next) { in cil_classorder_to_policydb() [all …]
|
D | cil_tree.c | 913 struct cil_class *cls = node->data; in cil_tree_print_node() 943 struct cil_class *common = node->data; in cil_tree_print_node() 979 struct cil_class *cm = node->data; in cil_tree_print_node()
|
D | cil_post.c | 567 struct cil_class *class = node->data; in __cil_post_db_count_helper() 2091 struct cil_class *class = cp->class; in __evaluate_classperms() 2092 struct cil_class *common = class->common; in __evaluate_classperms() 2177 static int __evaluate_map_class(struct cil_class *mc, struct cil_db *db) in __evaluate_map_class()
|
D | cil_build_ast.h | 52 void cil_destroy_class(struct cil_class *class);
|
D | cil_policy.c | 733 struct cil_class* common; in cil_commons_to_policy() 754 struct cil_class *class; in cil_classes_to_policy() 992 struct cil_class *class; in cil_validatetrans_to_policy()
|
D | cil.c | 1739 cil_symtab_destroy(&((struct cil_class*)current->data)->perms); in cil_destroy_ast_symtabs() 1768 *symtab = &((struct cil_class*)node->data)->perms; in cil_get_symtab() 1946 void cil_class_init(struct cil_class **class) in cil_class_init()
|
D | cil_copy_ast.c | 235 struct cil_class *orig = data; in cil_copy_class() 236 struct cil_class *new = NULL; in cil_copy_class()
|
D | cil_build_ast.c | 385 struct cil_class *class = NULL; in cil_gen_class() 430 void cil_destroy_class(struct cil_class *class) in cil_destroy_class() 867 struct cil_class *map = NULL; in cil_gen_map_class() 963 struct cil_class *common = NULL; in cil_gen_common()
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 183 struct cil_class *new_node; in test_cil_copy_perm() 279 struct cil_class *test_cls; in test_cil_copy_classcommon() 1446 struct cil_class *test_class; in test_cil_copy_node_helper_perm()
|
D | test_cil_build_ast.c | 494 struct cil_class *new_node; in test_cil_gen_perm() 575 struct cil_class *new_node; in test_cil_gen_perm_astnull_neg() 787 struct cil_class *test_cls; in test_cil_gen_perm_nodes() 815 struct cil_class *test_cls; in test_cil_gen_perm_nodes_failgen_neg() 845 struct cil_class *test_cls; in test_cil_gen_perm_nodes_inval_perm_neg() 10591 struct cil_class *test_cls; in test_cil_gen_classcommon() 10681 struct cil_class *test_cls; in test_cil_gen_classcommon_noperms_neg() 10709 struct cil_class *test_cls; in test_cil_gen_classcommon_extraperms_neg()
|