Home
last modified time | relevance | path

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

12

/external/selinux/python/audit2allow/
Dtest_dummy_policy.cil37 (roletype system_r automount_t)
38 (roletype system_r ftpd_t)
39 (roletype system_r httpd_t)
40 (roletype system_r kernel_t)
41 (roletype system_r postfix_local_t)
42 (roletype system_r qemu_t)
43 (roletype system_r smbd_t)
44 (roletype unconfined_r nsplugin_t)
/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)
332 (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.c807 struct cil_roletype *roletype = node->data; in cil_tree_print_node() local
811 if (roletype->role != NULL) { in cil_tree_print_node()
812 datum = roletype->role; in cil_tree_print_node()
814 } else if (roletype->role_str != NULL) { in cil_tree_print_node()
815 cil_log(CIL_INFO, " %s", roletype->role_str); in cil_tree_print_node()
818 if (roletype->type != NULL) { in cil_tree_print_node()
819 datum = roletype->type; in cil_tree_print_node()
821 } else if (roletype->type_str != NULL) { in cil_tree_print_node()
822 cil_log(CIL_INFO, " %s", roletype->type_str); in cil_tree_print_node()
Dandroid.c362 struct cil_roletype *roletype = (struct cil_roletype *)node->data; in cil_attrib_roletype() local
364 if (roletype->role) { in cil_attrib_roletype()
368 key = roletype->type_str; in cil_attrib_roletype()
370 roletype->type_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_roletype()
Dcil.c2030 void cil_roletype_init(struct cil_roletype **roletype) in cil_roletype_init() argument
2032 *roletype = cil_malloc(sizeof(**roletype)); in cil_roletype_init()
2034 (*roletype)->role_str = NULL; in cil_roletype_init()
2035 (*roletype)->role = NULL; in cil_roletype_init()
2036 (*roletype)->type_str = NULL; in cil_roletype_init()
2037 (*roletype)->type = NULL; in cil_roletype_init()
Dcil_post.c1647 struct cil_roletype *roletype = node->data; in __cil_post_db_roletype_helper() local
1648 struct cil_symtab_datum *role_datum = roletype->role; in __cil_post_db_roletype_helper()
1649 struct cil_symtab_datum *type_datum = roletype->type; in __cil_post_db_roletype_helper()
1653 struct cil_roleattribute *attr = roletype->role; in __cil_post_db_roletype_helper()
1672 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.h100 void cil_destroy_roletype(struct cil_roletype *roletype);
Dcil_build_ast.c1722 struct cil_roletype *roletype = NULL; in cil_gen_roletype() local
1734 cil_roletype_init(&roletype); in cil_gen_roletype()
1736 roletype->role_str = parse_current->next->data; in cil_gen_roletype()
1737 roletype->type_str = parse_current->next->next->data; in cil_gen_roletype()
1739 ast_node->data = roletype; in cil_gen_roletype()
1746 cil_destroy_roletype(roletype); in cil_gen_roletype()
1750 void cil_destroy_roletype(struct cil_roletype *roletype) in cil_destroy_roletype() argument
1752 if (roletype == NULL) { in cil_destroy_roletype()
1756 free(roletype); in cil_destroy_roletype()
Dcil_internal.h1009 void cil_roletype_init(struct cil_roletype **roletype);
/external/selinux/libsepol/cil/test/integration_testing/
Dnonmls.cil72 (roletype foo_r foo_t)
Dmls_policy.cil101 (roletype foo_r foo_t)

12