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.h369 struct cil_class { struct
373 struct cil_class *common; /* Only used for kernel class */ argument
388 struct cil_class *class; argument
567 struct cil_class *obj;
581 struct cil_class *obj;
622 struct cil_class *obj;
638 struct cil_class *obj;
649 struct cil_class *obj;
864 struct cil_class *class;
1000 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.c393 struct cil_class *class = node->data; in __cil_verify_ordered_node_helper()
1277 struct cil_class *class; in __cil_verify_permissionx()
1328 struct cil_class *class = node->data; in __cil_verify_class()
1331 struct cil_class *common = class->common; in __cil_verify_class()
1619 struct cil_class *class;
1636 struct cil_class *mc = node->data; in __cil_verify_map_class()
Dcil_resolve_ast.c158 struct cil_class *class; in cil_resolve_classperms()
165 class = (struct cil_class *)datum; in cil_resolve_classperms()
294 permx->obj = (struct cil_class*)obj_datum; in cil_resolve_permissionx()
390 rule->obj = (struct cil_class*)obj_datum; in cil_resolve_type_rule()
642 nametypetrans->obj = (struct cil_class*)obj_datum; in cil_resolve_nametypetransition()
698 rangetrans->obj = (struct cil_class*)obj_datum; in cil_resolve_rangetransition()
738 struct cil_class *class = NULL; in cil_resolve_classcommon()
739 struct cil_class *common = NULL; in cil_resolve_classcommon()
755 class = (struct cil_class *)class_datum; in cil_resolve_classcommon()
756 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.c243 int cil_common_to_policydb(policydb_t *pdb, struct cil_class *cil_common, common_datum_t **common_o… in cil_common_to_policydb()
291 int cil_classorder_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_class *class_va… in cil_classorder_to_policydb()
297 struct cil_class *cil_class = curr_class->data; in cil_classorder_to_policydb() local
306 key = cil_strdup(cil_class->datum.fqn); in cil_classorder_to_policydb()
315 class_value_to_cil[class_index] = cil_class; in cil_classorder_to_policydb()
322 if (cil_class->common != NULL) { in cil_classorder_to_policydb()
324 struct cil_class *cil_common = cil_class->common; in cil_classorder_to_policydb()
326 key = cil_class->common->datum.fqn; in cil_classorder_to_policydb()
338 for (curr = NODE(cil_class->common)->cl_head, i = 1; curr; curr = curr->next, i++) { in cil_classorder_to_policydb()
344 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()
2083 struct cil_class *class = cp->class; in __evaluate_classperms()
2084 struct cil_class *common = class->common; in __evaluate_classperms()
2169 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.c729 struct cil_class* common; in cil_commons_to_policy()
750 struct cil_class *class; in cil_classes_to_policy()
991 struct cil_class *class; in cil_validatetrans_to_policy()
Dcil.c1902 cil_symtab_destroy(&((struct cil_class*)current->data)->perms); in cil_destroy_ast_symtabs()
1931 *symtab = &((struct cil_class*)node->data)->perms; in cil_get_symtab()
2109 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()