Home
last modified time | relevance | path

Searched refs:cil_class (Results 1 – 17 of 17) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_internal.h368 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);
Dcil_binary.h74 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);
Dcil_find.h38 struct cil_list *cil_expand_class(struct cil_class *class);
Dcil_find.c147 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()
Dcil_verify.c390 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()
Dcil_resolve_ast.c162 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 …]
Dcil_reset_ast.c22 static void cil_reset_class(struct cil_class *class) in cil_reset_class()
25 struct cil_class *common = class->common; in cil_reset_class()
Dcil_binary.c248 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 …]
Dcil_tree.c913 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()
Dcil_post.c567 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()
Dcil_build_ast.h52 void cil_destroy_class(struct cil_class *class);
Dcil_policy.c733 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()
Dcil.c1739 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()
Dcil_copy_ast.c235 struct cil_class *orig = data; in cil_copy_class()
236 struct cil_class *new = NULL; in cil_copy_class()
Dcil_build_ast.c385 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/
Dtest_cil_copy_ast.c183 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()
Dtest_cil_build_ast.c494 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()