Searched refs:cil_role (Results 1 – 14 of 14) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_binary.h | 94 int cil_role_to_policydb(policydb_t *pdb, struct cil_role *cil_role); 105 int cil_roletype_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_role *role);
|
D | cil_internal.h | 310 struct cil_role **val_to_role; 492 struct cil_role { struct 494 struct cil_role *bounds; argument 643 struct cil_role *src; 649 struct cil_role *result; 715 struct cil_role *role; 1053 void cil_role_init(struct cil_role **role);
|
D | cil_post.c | 594 struct cil_role *role = node->data; in __cil_post_db_count_helper() 683 struct cil_role *role = node->data; in __cil_post_db_array_helper() 990 struct cil_role *role = (struct cil_role *)datum; in __cil_role_to_bitmap() 1596 static int __cil_role_assign_types(struct cil_role *role, struct cil_symtab_datum *datum) in __cil_role_assign_types() 1658 struct cil_role *role = NULL; in __cil_post_db_roletype_helper() 1672 struct cil_role *role = roletype->role; in __cil_post_db_roletype_helper() 1694 struct cil_role *role = NULL; in __cil_user_assign_roles() 1703 role = (struct cil_role *)datum; in __cil_user_assign_roles()
|
D | cil_verify.c | 673 struct cil_role *role = node->data; in __cil_verify_role() 676 struct cil_role *r1 = role; in __cil_verify_role() 677 struct cil_role *r2 = role->bounds; in __cil_verify_role() 736 struct cil_role *role = ctx->role; in __cil_verify_context()
|
D | cil_binary.c | 189 struct cil_role *role = (struct cil_role *)datum; in __cil_expand_role() 369 int cil_role_to_policydb(policydb_t *pdb, struct cil_role *cil_role) in cil_role_to_policydb() argument 377 if (cil_role->datum.fqn == CIL_KEY_OBJECT_R) { in cil_role_to_policydb() 384 key = cil_strdup(cil_role->datum.fqn); in cil_role_to_policydb() 404 int cil_role_bounds_to_policydb(policydb_t *pdb, struct cil_role *cil_role) in cil_role_bounds_to_policydb() argument 410 if (cil_role->bounds) { in cil_role_bounds_to_policydb() 411 rc = __cil_get_sepol_role_datum(pdb, DATUM(cil_role), &sepol_role); in cil_role_bounds_to_policydb() 414 rc = __cil_get_sepol_role_datum(pdb, DATUM(cil_role->bounds), &sepol_parent); in cil_role_bounds_to_policydb() 423 cil_log(CIL_ERR, "Failed to insert role bounds for role %s\n", cil_role->datum.fqn); in cil_role_bounds_to_policydb() 427 int cil_roletype_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_role *role) in cil_roletype_to_policydb()
|
D | cil_policy.c | 149 struct cil_role *role = node->data; in __cil_gather_statements_helper() 1485 struct cil_role *role; in cil_roles_to_policy() 1498 struct cil_role *role; in cil_role_types_to_policy() 1530 struct cil_role *role; in cil_roleattributes_to_policy() 1589 struct cil_role *role; in cil_users_to_policy()
|
D | cil_resolve_ast.c | 1041 roletype->role = (struct cil_role*)role_datum; in cil_resolve_roletype() 1069 roletrans->src = (struct cil_role*)src_datum; in cil_resolve_roletransition() 1094 roletrans->result = (struct cil_role*)result_datum; in cil_resolve_roletransition() 1113 roleallow->src = (struct cil_role*)src_datum; in cil_resolve_roleallow() 1119 roleallow->tgt = (struct cil_role*)tgt_datum; in cil_resolve_roleallow() 1859 context->role = (struct cil_role*)role_datum; in cil_resolve_context() 2609 struct cil_role *role = (struct cil_role *)child_datum; in cil_resolve_bounds() 2617 role->bounds = (struct cil_role *)parent_datum; in cil_resolve_bounds()
|
D | cil_reset_ast.c | 137 static void cil_reset_role(struct cil_role *role) in cil_reset_role()
|
D | cil_build_ast.h | 98 void cil_destroy_role(struct cil_role *role);
|
D | cil.c | 1543 struct cil_role *role = ctx->role; in cil_filecons_to_string() 1606 struct cil_role *role = ctx->role; in cil_filecons_to_string() 2514 void cil_role_init(struct cil_role **role) in cil_role_init()
|
D | cil_write_ast.c | 602 struct cil_role *role = (struct cil_role *)node->data; in cil_write_role()
|
D | cil_copy_ast.c | 503 struct cil_role *orig = data; in cil_copy_role() 509 struct cil_role *new; in cil_copy_role()
|
D | cil_tree.c | 733 struct cil_role *role = node->data; in cil_tree_print_node()
|
D | cil_build_ast.c | 1671 struct cil_role *role = NULL; in cil_gen_role() 1701 void cil_destroy_role(struct cil_role *role) in cil_destroy_role()
|