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 | 312 struct cil_role **val_to_role; 494 struct cil_role { struct 496 struct cil_role *bounds; argument 645 struct cil_role *src; 651 struct cil_role *result; 717 struct cil_role *role; 1057 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() 1668 struct cil_role *role = roletype->role; in __cil_post_db_roletype_helper() 1690 struct cil_role *role = NULL; in __cil_user_assign_roles() 1699 role = (struct cil_role *)datum; in __cil_user_assign_roles()
|
D | cil_verify.c | 675 struct cil_role *role = node->data; in __cil_verify_role() 678 struct cil_role *r1 = role; in __cil_verify_role() 679 struct cil_role *r2 = role->bounds; in __cil_verify_role() 738 struct cil_role *role = ctx->role; in __cil_verify_context()
|
D | cil_binary.c | 188 struct cil_role *role = (struct cil_role *)datum; in __cil_expand_role() 368 int cil_role_to_policydb(policydb_t *pdb, struct cil_role *cil_role) in cil_role_to_policydb() argument 376 if (cil_role->datum.fqn == CIL_KEY_OBJECT_R) { in cil_role_to_policydb() 383 key = cil_strdup(cil_role->datum.fqn); in cil_role_to_policydb() 403 int cil_role_bounds_to_policydb(policydb_t *pdb, struct cil_role *cil_role) in cil_role_bounds_to_policydb() argument 409 if (cil_role->bounds) { in cil_role_bounds_to_policydb() 410 rc = __cil_get_sepol_role_datum(pdb, DATUM(cil_role), &sepol_role); in cil_role_bounds_to_policydb() 413 rc = __cil_get_sepol_role_datum(pdb, DATUM(cil_role->bounds), &sepol_parent); in cil_role_bounds_to_policydb() 422 cil_log(CIL_ERR, "Failed to insert role bounds for role %s\n", cil_role->datum.fqn); in cil_role_bounds_to_policydb() 426 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() 1482 struct cil_role *role; in cil_roles_to_policy() 1495 struct cil_role *role; in cil_role_types_to_policy() 1527 struct cil_role *role; in cil_roleattributes_to_policy() 1586 struct cil_role *role; in cil_users_to_policy()
|
D | cil_resolve_ast.c | 1037 roletype->role = (struct cil_role*)role_datum; in cil_resolve_roletype() 1065 roletrans->src = (struct cil_role*)src_datum; in cil_resolve_roletransition() 1090 roletrans->result = (struct cil_role*)result_datum; in cil_resolve_roletransition() 1109 roleallow->src = (struct cil_role*)src_datum; in cil_resolve_roleallow() 1115 roleallow->tgt = (struct cil_role*)tgt_datum; in cil_resolve_roleallow() 1858 context->role = (struct cil_role*)role_datum; in cil_resolve_context() 2608 struct cil_role *role = (struct cil_role *)child_datum; in cil_resolve_bounds() 2616 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_write_ast.c | 602 struct cil_role *role = (struct cil_role *)node->data; in cil_write_role()
|
D | cil.c | 1707 struct cil_role *role = ctx->role; in cil_filecons_to_string() 1770 struct cil_role *role = ctx->role; in cil_filecons_to_string() 2678 void cil_role_init(struct cil_role **role) in cil_role_init()
|
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 | 737 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()
|