Searched refs:roletype (Results 1 – 17 of 17) sorted by relevance
/external/selinux/secilc/test/ |
D | policy.cil | 198 (roletype system_r bin_t) 199 (roletype system_r kernel_t) 200 (roletype system_r security_t) 201 (roletype system_r unlabeled_t) 202 (roletype system_r exec_type) 203 (roletype exec_role bin_t) 204 (roletype exec_role exec_type) 294 (roletype r t)
|
D | integration.cil | 141 (roletype system_r bin_t) 142 (roletype system_r kernel_t) 143 (roletype system_r security_t) 144 (roletype system_r unlabeled_t)
|
D | minimum.cil | 14 (roletype ROLE TYPE)
|
D | optional_test.cil | 15 (roletype ROLE TYPE)
|
D | block_test.cil | 15 (roletype ROLE TYPE)
|
D | in_test.cil | 15 (roletype ROLE TYPE)
|
D | name_resolution_test.cil | 15 (roletype ROLE TYPE)
|
/external/selinux/libsepol/cil/src/ |
D | cil_tree.c | 703 struct cil_roletype *roletype = node->data; in cil_tree_print_node() local 707 if (roletype->role != NULL) { in cil_tree_print_node() 708 datum = roletype->role; in cil_tree_print_node() 710 } else if (roletype->role_str != NULL) { in cil_tree_print_node() 711 cil_log(CIL_INFO, " %s", roletype->role_str); in cil_tree_print_node() 714 if (roletype->type != NULL) { in cil_tree_print_node() 715 datum = roletype->type; in cil_tree_print_node() 717 } else if (roletype->type_str != NULL) { in cil_tree_print_node() 718 cil_log(CIL_INFO, " %s", roletype->type_str); in cil_tree_print_node()
|
D | cil.c | 1917 void cil_roletype_init(struct cil_roletype **roletype) in cil_roletype_init() argument 1919 *roletype = cil_malloc(sizeof(**roletype)); in cil_roletype_init() 1921 (*roletype)->role_str = NULL; in cil_roletype_init() 1922 (*roletype)->role = NULL; in cil_roletype_init() 1923 (*roletype)->type_str = NULL; in cil_roletype_init() 1924 (*roletype)->type = NULL; in cil_roletype_init()
|
D | cil_post.c | 1089 struct cil_roletype *roletype = node->data; in __cil_post_db_roletype_helper() local 1090 struct cil_symtab_datum *role_datum = roletype->role; in __cil_post_db_roletype_helper() 1091 struct cil_symtab_datum *type_datum = roletype->type; in __cil_post_db_roletype_helper() 1095 struct cil_roleattribute *attr = roletype->role; in __cil_post_db_roletype_helper() 1114 struct cil_role *role = roletype->role; in __cil_post_db_roletype_helper()
|
D | cil_policy.c | 1050 struct cil_roletype *roletype = (struct cil_roletype*)current->data; in cil_name_to_policy() local 1051 char *role_str = ((struct cil_symtab_datum*)roletype->role)->name; in cil_name_to_policy() 1052 char *type_str = ((struct cil_symtab_datum*)roletype->type)->name; in cil_name_to_policy()
|
D | cil_build_ast.h | 96 void cil_destroy_roletype(struct cil_roletype *roletype);
|
D | cil_build_ast.c | 1542 struct cil_roletype *roletype = NULL; in cil_gen_roletype() local 1554 cil_roletype_init(&roletype); in cil_gen_roletype() 1556 roletype->role_str = parse_current->next->data; in cil_gen_roletype() 1557 roletype->type_str = parse_current->next->next->data; in cil_gen_roletype() 1559 ast_node->data = roletype; in cil_gen_roletype() 1567 cil_destroy_roletype(roletype); in cil_gen_roletype() 1571 void cil_destroy_roletype(struct cil_roletype *roletype) in cil_destroy_roletype() argument 1573 if (roletype == NULL) { in cil_destroy_roletype() 1577 free(roletype); in cil_destroy_roletype()
|
D | cil_internal.h | 916 void cil_roletype_init(struct cil_roletype **roletype);
|
D | cil_resolve_ast.c | 908 struct cil_roletype *roletype = current->data; in cil_resolve_roletype() local 913 rc = cil_resolve_name(current, roletype->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_roletype() 917 roletype->role = (struct cil_role*)role_datum; in cil_resolve_roletype() 919 rc = cil_resolve_name(current, roletype->type_str, CIL_SYM_TYPES, extra_args, &type_datum); in cil_resolve_roletype() 923 roletype->type = (struct cil_type*)type_datum; in cil_resolve_roletype()
|
/external/selinux/libsepol/cil/test/integration_testing/ |
D | nonmls.cil | 72 (roletype foo_r foo_t)
|
D | mls_policy.cil | 101 (roletype foo_r foo_t)
|