Home
last modified time | relevance | path

Searched refs:roletype (Results 1 – 25 of 25) 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)
325 (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.c792 struct cil_roletype *roletype = node->data; in cil_tree_print_node() local
796 if (roletype->role != NULL) { in cil_tree_print_node()
797 datum = roletype->role; in cil_tree_print_node()
799 } else if (roletype->role_str != NULL) { in cil_tree_print_node()
800 cil_log(CIL_INFO, " %s", roletype->role_str); in cil_tree_print_node()
803 if (roletype->type != NULL) { in cil_tree_print_node()
804 datum = roletype->type; in cil_tree_print_node()
806 } else if (roletype->type_str != NULL) { in cil_tree_print_node()
807 cil_log(CIL_INFO, " %s", roletype->type_str); in cil_tree_print_node()
Dandroid.c357 struct cil_roletype *roletype = (struct cil_roletype *)node->data; in cil_attrib_roletype() local
359 if (roletype->role) { in cil_attrib_roletype()
363 key = roletype->type_str; in cil_attrib_roletype()
365 roletype->type_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_roletype()
Dcil.c1990 void cil_roletype_init(struct cil_roletype **roletype) in cil_roletype_init() argument
1992 *roletype = cil_malloc(sizeof(**roletype)); in cil_roletype_init()
1994 (*roletype)->role_str = NULL; in cil_roletype_init()
1995 (*roletype)->role = NULL; in cil_roletype_init()
1996 (*roletype)->type_str = NULL; in cil_roletype_init()
1997 (*roletype)->type = NULL; in cil_roletype_init()
Dcil_post.c1341 struct cil_roletype *roletype = node->data; in __cil_post_db_roletype_helper() local
1342 struct cil_symtab_datum *role_datum = roletype->role; in __cil_post_db_roletype_helper()
1343 struct cil_symtab_datum *type_datum = roletype->type; in __cil_post_db_roletype_helper()
1347 struct cil_roleattribute *attr = roletype->role; in __cil_post_db_roletype_helper()
1366 struct cil_role *role = roletype->role; in __cil_post_db_roletype_helper()
Dcil_write_ast.c608 struct cil_roletype *roletype = (struct cil_roletype *)node->data; in cil_write_roletype() local
609 fprintf(cil_out, "(%s %s %s)\n", CIL_KEY_ROLETYPE, roletype->role_str, roletype->type_str); in cil_write_roletype()
Dcil_build_ast.c1688 struct cil_roletype *roletype = NULL; in cil_gen_roletype() local
1700 cil_roletype_init(&roletype); in cil_gen_roletype()
1702 roletype->role_str = parse_current->next->data; in cil_gen_roletype()
1703 roletype->type_str = parse_current->next->next->data; in cil_gen_roletype()
1705 ast_node->data = roletype; in cil_gen_roletype()
1712 cil_destroy_roletype(roletype); in cil_gen_roletype()
1716 void cil_destroy_roletype(struct cil_roletype *roletype) in cil_destroy_roletype() argument
1718 if (roletype == NULL) { in cil_destroy_roletype()
1722 free(roletype); in cil_destroy_roletype()
Dcil_build_ast.h100 void cil_destroy_roletype(struct cil_roletype *roletype);
Dcil_internal.h977 void cil_roletype_init(struct cil_roletype **roletype);
Dcil_resolve_ast.c986 struct cil_roletype *roletype = current->data; in cil_resolve_roletype() local
991 rc = cil_resolve_name(current, roletype->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_roletype()
995 roletype->role = (struct cil_role*)role_datum; in cil_resolve_roletype()
997 rc = cil_resolve_name(current, roletype->type_str, CIL_SYM_TYPES, extra_args, &type_datum); in cil_resolve_roletype()
1001 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)