Home
last modified time | relevance | path

Searched refs:roletype (Results 1 – 17 of 17) sorted by relevance

/external/selinux/secilc/test/
Dpolicy.cil198 (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)
Dintegration.cil141 (roletype system_r bin_t)
142 (roletype system_r kernel_t)
143 (roletype system_r security_t)
144 (roletype system_r unlabeled_t)
Dminimum.cil14 (roletype ROLE TYPE)
Doptional_test.cil15 (roletype ROLE TYPE)
Dblock_test.cil15 (roletype ROLE TYPE)
Din_test.cil15 (roletype ROLE TYPE)
Dname_resolution_test.cil15 (roletype ROLE TYPE)
/external/selinux/libsepol/cil/src/
Dcil_tree.c703 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()
Dcil.c1917 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()
Dcil_post.c1089 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()
Dcil_policy.c1050 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()
Dcil_build_ast.h96 void cil_destroy_roletype(struct cil_roletype *roletype);
Dcil_build_ast.c1542 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()
Dcil_internal.h916 void cil_roletype_init(struct cil_roletype **roletype);
Dcil_resolve_ast.c908 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/
Dnonmls.cil72 (roletype foo_r foo_t)
Dmls_policy.cil101 (roletype foo_r foo_t)