Home
last modified time | relevance | path

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

/third_party/selinux/secilc/test/
Dopt-expected.cil46 (roletype rl01 tp01)
47 (roletype object_r tp01)
48 (roletype object_r tp02)
49 (roletype object_r tp04)
50 (roletype object_r tpr1)
51 (roletype object_r tpr2)
52 (roletype object_r tpr3)
53 (roletype object_r tpr4)
54 (roletype object_r tpr5)
Dopt-input.cil51 (roletype rl01 tp01)
52 (roletype object_r tp01)
53 (roletype object_r tp02)
54 (roletype object_r tp04)
55 (roletype object_r tpr1)
56 (roletype object_r tpr2)
57 (roletype object_r tpr3)
58 (roletype object_r tpr4)
59 (roletype object_r tpr5)
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)
Danonymous_arg_test.cil17 (roletype ROLE TYPE)
Din_test.cil15 (roletype ROLE TYPE)
Dname_resolution_test.cil15 (roletype ROLE TYPE)
Dbounds.cil14 (roletype ROLE TYPE)
/third_party/selinux/secilc/docs/
Dcil_role_statements.md46 roletype section in Role Statements
66 <td align="left"><p><code>roletype</code></p></td>
67 <td align="left"><p>The <code>roletype</code> keyword.</p></td>
88 (roletype role process)
289 (roletype msg_filter.role process)
Dcil_file_labeling_statements.md163 (roletype object_r labeledfs)
167 (roletype object_r pipefs)
231 (roletype object_r rootfs)
235 (roletype object_r proc)
DREADME.md111 * [roletype](cil_role_statements.md#roletype)
Dcil_mls_labeling_statements.md616 (roletype role process)
617 (roletype role object)
618 (roletype object_r object)
Dcil_container_statements.md174 (roletype object_r log_file)
/third_party/selinux/libsepol/cil/test/integration_testing/
Dnonmls.cil72 (roletype foo_r foo_t)
Dmls_policy.cil101 (roletype foo_r foo_t)
/third_party/selinux/libsepol/cil/src/
Dcil.c2286 void cil_roletype_init(struct cil_roletype **roletype) in cil_roletype_init() argument
2288 *roletype = cil_malloc(sizeof(**roletype)); in cil_roletype_init()
2290 (*roletype)->role_str = NULL; in cil_roletype_init()
2291 (*roletype)->role = NULL; in cil_roletype_init()
2292 (*roletype)->type_str = NULL; in cil_roletype_init()
2293 (*roletype)->type = NULL; in cil_roletype_init()
Dcil_write_ast.c1027 struct cil_roletype *roletype = node->data; in cil_write_ast_node() local
1029 fprintf(out, "%s ", datum_or_str(DATUM(roletype->role), roletype->role_str)); in cil_write_ast_node()
1030 fprintf(out, "%s", datum_or_str(DATUM(roletype->type), roletype->type_str)); in cil_write_ast_node()
Dcil_post.c1665 struct cil_roletype *roletype = node->data; in __cil_post_db_roletype_helper() local
1666 struct cil_symtab_datum *role_datum = roletype->role; in __cil_post_db_roletype_helper()
1667 struct cil_symtab_datum *type_datum = roletype->type; in __cil_post_db_roletype_helper()
1671 struct cil_roleattribute *attr = roletype->role; in __cil_post_db_roletype_helper()
1686 struct cil_role *role = roletype->role; in __cil_post_db_roletype_helper()
Dcil_build_ast.h102 void cil_destroy_roletype(struct cil_roletype *roletype);
Dcil_build_ast.c1786 struct cil_roletype *roletype = NULL; in cil_gen_roletype() local
1798 cil_roletype_init(&roletype); in cil_gen_roletype()
1800 roletype->role_str = parse_current->next->data; in cil_gen_roletype()
1801 roletype->type_str = parse_current->next->next->data; in cil_gen_roletype()
1803 ast_node->data = roletype; in cil_gen_roletype()
1810 cil_destroy_roletype(roletype); in cil_gen_roletype()
1814 void cil_destroy_roletype(struct cil_roletype *roletype) in cil_destroy_roletype() argument
1816 if (roletype == NULL) { in cil_destroy_roletype()
1820 free(roletype); in cil_destroy_roletype()
Dcil_internal.h1023 void cil_roletype_init(struct cil_roletype **roletype);
Dcil_resolve_ast.c1052 struct cil_roletype *roletype = current->data; in cil_resolve_roletype() local
1057 rc = cil_resolve_name(current, roletype->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_roletype()
1061 roletype->role = (struct cil_role*)role_datum; in cil_resolve_roletype()
1063 rc = cil_resolve_name(current, roletype->type_str, CIL_SYM_TYPES, extra_args, &type_datum); in cil_resolve_roletype()
1067 roletype->type = (struct cil_type*)type_datum; in cil_resolve_roletype()