Home
last modified time | relevance | path

Searched refs:userrole (Results 1 – 23 of 23) sorted by relevance

/third_party/selinux/secilc/test/
Danonymous_arg_test.cil18 (userrole USER ROLE)
53 (userrole u1 ROLE)
54 (userrole u2 ROLE)
55 (userrole u3 ROLE)
56 (userrole u4 ROLE)
Dopt-expected.cil56 (userrole us01 object_r)
57 (userrole us01 rl01)
Dopt-input.cil61 (userrole us01 object_r)
62 (userrole us01 rl01)
Dminimum.cil15 (userrole USER ROLE)
Dintegration.cil149 (userrole system_u system_r)
153 (userrole user_u user_r)
Doptional_test.cil16 (userrole USER ROLE)
Dneverallow.cil15 (userrole USER ROLE)
Dblock_test.cil16 (userrole USER ROLE)
Din_test.cil16 (userrole USER ROLE)
Dname_resolution_test.cil16 (userrole USER ROLE)
Dbounds.cil15 (userrole USER ROLE)
/third_party/selinux/libsepol/cil/test/integration_testing/
Dnonmls.cil13 (userrole foo_u foo_r)
76 (userrole user_u foo_r)
Dmls_policy.cil31 (userrole foo_u foo_r)
105 (userrole user_u foo_r)
/third_party/selinux/secilc/docs/
Dcil_user_statements.md44 userrole section in User Statements
52 (userrole user_id role_id)
64 <td align="left"><p><code>userrole</code></p></td>
65 <td align="left"><p>The <code>userrole</code> keyword.</p></td>
86 (userrole user role)
295 (userrole user role)
DREADME.md138 * [userrole](cil_user_statements.md#userrole)
Dcil_mls_labeling_statements.md614 (userrole user role)
615 (userrole user object_r)
/third_party/selinux/libsepol/cil/src/
Dcil_write_ast.c947 struct cil_userrole *userrole = node->data; in cil_write_ast_node() local
949 fprintf(out, "%s ", datum_or_str(userrole->user, userrole->user_str)); in cil_write_ast_node()
950 fprintf(out, "%s", datum_or_str(userrole->role, userrole->role_str)); in cil_write_ast_node()
Dcil.c2247 void cil_userrole_init(struct cil_userrole **userrole) in cil_userrole_init() argument
2249 *userrole = cil_malloc(sizeof(**userrole)); in cil_userrole_init()
2251 (*userrole)->user_str = NULL; in cil_userrole_init()
2252 (*userrole)->user = NULL; in cil_userrole_init()
2253 (*userrole)->role_str = NULL; in cil_userrole_init()
2254 (*userrole)->role = NULL; in cil_userrole_init()
Dcil_post.c1738 struct cil_userrole *userrole = NULL; in __cil_post_db_userrole_helper() local
1760 userrole = node->data; in __cil_post_db_userrole_helper()
1761 user_datum = userrole->user; in __cil_post_db_userrole_helper()
1762 role_datum = userrole->role; in __cil_post_db_userrole_helper()
1766 u_attr = userrole->user; in __cil_post_db_userrole_helper()
1777 user = userrole->user; in __cil_post_db_userrole_helper()
Dcil_build_ast.h104 void cil_destroy_userrole(struct cil_userrole *userrole);
Dcil_build_ast.c1832 struct cil_userrole *userrole = NULL; in cil_gen_userrole() local
1844 cil_userrole_init(&userrole); in cil_gen_userrole()
1846 userrole->user_str = parse_current->next->data; in cil_gen_userrole()
1847 userrole->role_str = parse_current->next->next->data; in cil_gen_userrole()
1849 ast_node->data = userrole; in cil_gen_userrole()
1856 cil_destroy_userrole(userrole); in cil_gen_userrole()
1860 void cil_destroy_userrole(struct cil_userrole *userrole) in cil_destroy_userrole() argument
1862 if (userrole == NULL) { in cil_destroy_userrole()
1866 free(userrole); in cil_destroy_userrole()
Dcil_internal.h1017 void cil_userrole_init(struct cil_userrole **userrole);
Dcil_resolve_ast.c831 struct cil_userrole *userrole = current->data; in cil_resolve_userrole() local
836 rc = cil_resolve_name(current, userrole->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrole()
840 userrole->user = (struct cil_user*)user_datum; in cil_resolve_userrole()
842 rc = cil_resolve_name(current, userrole->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_userrole()
846 userrole->role = role_datum; in cil_resolve_userrole()