Home
last modified time | relevance | path

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

/external/selinux/secilc/test/
Dpolicy.cil212 (roletype system_r bin_t)
213 (roletype system_r kernel_t)
214 (roletype system_r security_t)
215 (roletype system_r unlabeled_t)
216 (roletype system_r exec_type)
217 (roletype exec_role bin_t)
218 (roletype exec_role exec_type)
324 (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)
Dneverallow.cil14 (roletype ROLE TYPE)
Dblock_test.cil15 (roletype ROLE TYPE)
Din_test.cil15 (roletype ROLE TYPE)
Dname_resolution_test.cil15 (roletype ROLE TYPE)
Dbounds.cil14 (roletype ROLE TYPE)
/external/selinux/secilc/docs/
Dcil_role_statements.md42 roletype section in Role Statements
60 <td align="left"><p><code>roletype</code></p></td>
61 <td align="left"><p>The <code>roletype</code> keyword.</p></td>
81 (roletype role process)
268 (roletype msg_filter.role process)
Dcil_file_labeling_statements.md152 (roletype object_r labeledfs)
156 (roletype object_r pipefs)
212 (roletype object_r rootfs)
216 (roletype object_r proc)
DREADME.md111 * [roletype](cil_role_statements.md#roletype)
Dcil_mls_labeling_statements.md573 (roletype role process)
574 (roletype role object)
575 (roletype object_r object)
Dcil_container_statements.md149 (roletype object_r log_file)
/external/selinux/libsepol/cil/src/
Dcil_tree.c706 struct cil_roletype *roletype = node->data; in cil_tree_print_node() local
710 if (roletype->role != NULL) { in cil_tree_print_node()
711 datum = roletype->role; in cil_tree_print_node()
713 } else if (roletype->role_str != NULL) { in cil_tree_print_node()
714 cil_log(CIL_INFO, " %s", roletype->role_str); in cil_tree_print_node()
717 if (roletype->type != NULL) { in cil_tree_print_node()
718 datum = roletype->type; in cil_tree_print_node()
720 } else if (roletype->type_str != NULL) { in cil_tree_print_node()
721 cil_log(CIL_INFO, " %s", roletype->type_str); in cil_tree_print_node()
Dcil.c1964 void cil_roletype_init(struct cil_roletype **roletype) in cil_roletype_init() argument
1966 *roletype = cil_malloc(sizeof(**roletype)); in cil_roletype_init()
1968 (*roletype)->role_str = NULL; in cil_roletype_init()
1969 (*roletype)->role = NULL; in cil_roletype_init()
1970 (*roletype)->type_str = NULL; in cil_roletype_init()
1971 (*roletype)->type = NULL; in cil_roletype_init()
Dcil_post.c1307 struct cil_roletype *roletype = node->data; in __cil_post_db_roletype_helper() local
1308 struct cil_symtab_datum *role_datum = roletype->role; in __cil_post_db_roletype_helper()
1309 struct cil_symtab_datum *type_datum = roletype->type; in __cil_post_db_roletype_helper()
1313 struct cil_roleattribute *attr = roletype->role; in __cil_post_db_roletype_helper()
1332 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.h100 void cil_destroy_roletype(struct cil_roletype *roletype);
Dcil_build_ast.c1697 struct cil_roletype *roletype = NULL; in cil_gen_roletype() local
1709 cil_roletype_init(&roletype); in cil_gen_roletype()
1711 roletype->role_str = parse_current->next->data; in cil_gen_roletype()
1712 roletype->type_str = parse_current->next->next->data; in cil_gen_roletype()
1714 ast_node->data = roletype; in cil_gen_roletype()
1722 cil_destroy_roletype(roletype); in cil_gen_roletype()
1726 void cil_destroy_roletype(struct cil_roletype *roletype) in cil_destroy_roletype() argument
1728 if (roletype == NULL) { in cil_destroy_roletype()
1732 free(roletype); in cil_destroy_roletype()
Dcil_internal.h960 void cil_roletype_init(struct cil_roletype **roletype);
Dcil_resolve_ast.c976 struct cil_roletype *roletype = current->data; in cil_resolve_roletype() local
981 rc = cil_resolve_name(current, roletype->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_roletype()
985 roletype->role = (struct cil_role*)role_datum; in cil_resolve_roletype()
987 rc = cil_resolve_name(current, roletype->type_str, CIL_SYM_TYPES, extra_args, &type_datum); in cil_resolve_roletype()
991 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)