/external/selinux/libsepol/cil/src/ |
cil_binary.h | 249 * @param[in] datum The cil_avrule datum. 253 int cil_avrule_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_avrule *cil_avrule, struct cil_list *neverallows);
|
cil_binary.c | 1566 struct cil_avrule *cil_avrule; local [all...] |
cil_internal.h | 546 struct cil_avrule { struct 930 void cil_avrule_init(struct cil_avrule **avrule);
|
cil_policy.c | 575 int cil_avrule_to_policy(FILE **file_arr, uint32_t file_index, struct cil_avrule *rule) 842 case CIL_AVRULE: 843 rc = cil_avrule_to_policy(file_arr, *file_index, (struct cil_avrule*)node->data); 1005 case CIL_AVRULE: { 1006 struct cil_avrule *avrule = (struct cil_avrule*)current->data; [all...] |
cil_reset_ast.c | 171 static void cil_reset_avrule(struct cil_avrule *rule) 431 case CIL_AVRULE:
|
cil_build_ast.h | 109 void cil_destroy_avrule(struct cil_avrule *rule);
|
cil_copy_ast.c | 748 struct cil_avrule *orig = data; 749 struct cil_avrule *new = NULL; [all...] |
cil.c | 652 case CIL_AVRULE: 982 case CIL_AVRULE: 983 switch (((struct cil_avrule *)node->data)->rule_kind) { [all...] |
cil_verify.c | 871 case CIL_AVRULE: { 872 struct cil_avrule *avrule = NULL; 1333 case CIL_AVRULE: [all...] |
cil_post.c | [all...] |
cil_tree.c | 1047 case CIL_AVRULE: { 1048 struct cil_avrule *rule = node->data; [all...] |
cil_build_ast.c | [all...] |
cil_resolve_ast.c | 279 struct cil_avrule *rule = current->data; [all...] |
/external/selinux/libsepol/cil/test/unit/ |
test_cil_list.c | 37 struct cil_avrule *test_avrule = malloc(sizeof(*test_avrule));
|
test_cil_copy_ast.c | 604 struct cil_avrule *test_copy; 612 CuAssertIntEquals(tc, ((struct cil_avrule *)test_ast_node->data)->rule_kind, test_copy->rule_kind); 613 CuAssertStrEquals(tc, ((struct cil_avrule *)test_ast_node->data)->src_str, test_copy->src_str); 614 CuAssertStrEquals(tc, ((struct cil_avrule *)test_ast_node->data)->tgt_str, test_copy->tgt_str); 615 CuAssertStrEquals(tc, ((struct cil_avrule *)test_ast_node->data)->classpermset->class_str, test_copy->classpermset->class_str); 616 CuAssertIntEquals(tc, ((struct cil_avrule *)test_ast_node->data)->classpermset->permset->perms_list_str->head->flavor, test_copy->classpermset->permset->perms_list_str->head->flavor); 617 CuAssertStrEquals(tc, (char*)((struct cil_avrule *)test_ast_node->data)->classpermset->permset->perms_list_str->head->data, (char*)test_copy->classpermset->permset->perms_list_str->head->data); 618 CuAssertIntEquals(tc, ((struct cil_avrule *)test_ast_node->data)->classpermset->permset->perms_list_str->head->next->flavor, test_copy->classpermset->permset->perms_list_str->head->next->flavor); 619 CuAssertStrEquals(tc, (char*)((struct cil_avrule *)test_ast_node->data)->classpermset->permset->perms_list_str->head->next->data, (char*)test_copy->classpermset->permset->perms_list_str->head->next->data); [all...] |
test_cil_build_ast.c | 72 struct cil_avrule *test_avrule; 103 struct cil_avrule *test_avrule; 134 struct cil_avrule *test_avrule; [all...] |