Searched refs:cil_context (Results 1 - 19 of 19) sorted by relevance

/external/selinux/libsepol/cil/src/
H A Dcil_internal.h418 struct cil_context *context;
425 struct cil_context *context;
695 struct cil_context { struct
722 struct cil_context *context;
736 struct cil_context *context;
745 struct cil_context *context;
761 struct cil_context *context;
767 struct cil_context *if_context;
769 struct cil_context *packet_context;
776 struct cil_context *contex
[all...]
H A Dcil_verify.c732 int __cil_verify_context(struct cil_db *db, struct cil_context *ctx)
813 struct cil_context *ctx = node->data;
989 struct cil_context *if_ctx = netif->if_context;
990 struct cil_context *pkt_ctx = netif->packet_context;
1019 struct cil_context *ctx = genfs->context;
1040 struct cil_context *ctx = file->context;
1066 struct cil_context *ctx = nodecon->context;
1087 struct cil_context *ctx = port->context;
1108 struct cil_context *ctx = pirq->context;
1129 struct cil_context *ct
[all...]
H A Dcil_resolve_ast.h75 int cil_resolve_context(struct cil_tree_node *current, struct cil_context *context, void *extra_args);
H A Dcil_copy_ast.h96 void cil_copy_fill_context(struct cil_db *db, struct cil_context *orig, struct cil_context *new);
H A Dcil_build_ast.h171 int cil_fill_context(struct cil_tree_node *user_node, struct cil_context *context);
173 void cil_destroy_context(struct cil_context *context);
223 int cil_fill_context(struct cil_tree_node *user_node, struct cil_context *context);
H A Dcil_reset_ast.c10 static inline void cil_reset_context(struct cil_context *context);
270 static inline void cil_reset_context(struct cil_context *context)
H A Dcil_resolve_ast.c1776 int cil_resolve_context(struct cil_tree_node *current, struct cil_context *context, void *extra_args)
1867 filecon->context = (struct cil_context*)context_datum;
1889 portcon->context = (struct cil_context*)context_datum;
1914 genfscon->context = (struct cil_context*)context_datum;
1957 nodecon->context = (struct cil_context*)context_datum;
1991 netifcon->if_context = (struct cil_context*)ifcon_datum;
2004 netifcon->packet_context = (struct cil_context*)packcon_datum;
2028 pirqcon->context = (struct cil_context*)context_datum;
2053 iomemcon->context = (struct cil_context*)context_datum;
2078 ioportcon->context = (struct cil_context*)context_datu
[all...]
H A Dandroid.c303 static int cil_attrib_check_context(struct cil_context *ctxt, struct version_args *args)
347 struct cil_context *ctxt = (struct cil_context *)node->data;
H A Dcil_binary.c3031 int __cil_context_to_sepol_context(policydb_t *pdb, struct cil_context *cil_context, context_struct_t *sepol_context) argument
3034 struct cil_levelrange *cil_lvlrange = cil_context->range;
3039 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_context->user), &sepol_user);
3042 rc = __cil_get_sepol_role_datum(pdb, DATUM(cil_context->role), &sepol_role);
3045 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_context->type), &sepol_type);
3083 struct cil_context *cil_context = cil_sid->context; local
3085 if (cil_context != NULL) {
3090 rc = __cil_context_to_sepol_context(pdb, cil_context,
[all...]
H A Dcil_tree.c48 void cil_tree_print_context(struct cil_context *context);
628 void cil_tree_print_context(struct cil_context *context)
1380 struct cil_context *context = node->data;
H A Dcil_copy_ast.c1042 void cil_copy_fill_context(struct cil_db *db, struct cil_context *data, struct cil_context *new)
1058 struct cil_context *orig = data;
1059 struct cil_context *new = NULL;
H A Dcil.c1507 struct cil_context *ctx = filecon->context;
1545 struct cil_context *ctx = filecon->context;
1825 void cil_context_init(struct cil_context **context)
H A Dcil_write_ast.c342 static int cil_unfill_context(struct cil_context *context, char **out_str) {
H A Dcil_build_ast.c3994 int cil_fill_context(struct cil_tree_node *user_node, struct cil_context *context)
4049 struct cil_context *context = NULL;
4084 void cil_destroy_context(struct cil_context *context)
H A Dcil_policy.c271 static void cil_context_to_policy(FILE *out, struct cil_context *context, int mls)
H A Dcil_post.c1588 struct cil_context *context = node->data;
/external/selinux/libsepol/cil/test/unit/
H A Dtest_cil_copy_ast.c1012 cil_context_init((struct cil_context**)&test_copy->data);
1017 int rc = cil_copy_fill_context((struct cil_context*)test_ast_node->data, (struct cil_context*)test_copy->data);
1019 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->user_str,
1020 ((struct cil_context *)test_ast_node->data)->user_str);
1021 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->role_str,
1022 ((struct cil_context *)test_ast_node->data)->role_str);
1023 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->type_str,
1024 ((struct cil_context *)test_ast_node->data)->type_str);
1025 CuAssertStrEquals(tc, ((struct cil_context *)test_cop
[all...]
H A Dtest_cil_resolve_ast.c1687 struct cil_context *test_context = (struct cil_context*)test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->data;
1717 struct cil_context *test_context = (struct cil_context*)test_db->ast->root->cl_head->next->next->next->next->next->next->next->cl_head->data;
1762 struct cil_context *test_context = (struct cil_context*)test_db->ast->root->cl_head->next->next->next->next->next->next->next->cl_head->data;
1807 struct cil_context *test_context = (struct cil_context*)test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->data;
1837 struct cil_context *test_context = (struct cil_context*)test_d
[all...]
H A Dtest_cil_build_ast.c11874 struct cil_context *test_context;
11896 struct cil_context *test_context;
11918 struct cil_context *test_context = NULL;
11939 struct cil_context *test_context;
11961 struct cil_context *test_context;
11983 struct cil_context *test_context;
12005 struct cil_context *test_context;
12027 struct cil_context *test_context;
12049 struct cil_context *test_context;
12071 struct cil_context *test_contex
[all...]

Completed in 323 milliseconds