/external/selinux/libsepol/cil/src/ |
cil_binary.h | 250 * @param[in] datum The cil_avrule datum. 254 int cil_avrule_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_avrule *cil_avrule);
|
cil_binary.c | 1763 struct cil_avrule *cil_avrule; local [all...] |
cil_find.c | 290 int cil_find_matching_avrule(struct cil_tree_node *node, struct cil_avrule *avrule, struct cil_avrule *target, struct cil_list *matching, int match_self) 360 } else if (node->flavor == CIL_AVRULE || node->flavor == CIL_AVRULEX) {
|
cil_internal.h | 573 struct cil_avrule { struct 974 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 | 196 static void cil_reset_avrule(struct cil_avrule *rule) 462 case CIL_AVRULE:
|
cil_build_ast.h | 113 void cil_destroy_avrule(struct cil_avrule *rule);
|
cil_verify.c | 875 case CIL_AVRULE: { 876 struct cil_avrule *avrule = NULL; 1279 struct cil_avrule *avrulex = node->data; [all...] |
cil.c | 671 case CIL_AVRULE: 1013 case CIL_AVRULE: 1014 switch (((struct cil_avrule *)node->data)->rule_kind) { 1028 switch (((struct cil_avrule *)node->data)->rule_kind) { [all...] |
cil_copy_ast.c | 794 struct cil_avrule *orig = data; 795 struct cil_avrule *new = NULL; [all...] |
cil_post.c | 1223 struct cil_avrule *rule = node->data; [all...] |
cil_tree.c | 1065 case CIL_AVRULE: { 1066 struct cil_avrule *rule = node->data; [all...] |
cil_build_ast.c | [all...] |
cil_resolve_ast.c | 298 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...] |