Searched refs:userrole (Results 1 – 23 of 23) sorted by relevance
/third_party/selinux/secilc/test/ |
D | anonymous_arg_test.cil | 18 (userrole USER ROLE) 53 (userrole u1 ROLE) 54 (userrole u2 ROLE) 55 (userrole u3 ROLE) 56 (userrole u4 ROLE)
|
D | opt-expected.cil | 56 (userrole us01 object_r) 57 (userrole us01 rl01)
|
D | opt-input.cil | 61 (userrole us01 object_r) 62 (userrole us01 rl01)
|
D | minimum.cil | 15 (userrole USER ROLE)
|
D | integration.cil | 149 (userrole system_u system_r) 153 (userrole user_u user_r)
|
D | optional_test.cil | 16 (userrole USER ROLE)
|
D | neverallow.cil | 15 (userrole USER ROLE)
|
D | block_test.cil | 16 (userrole USER ROLE)
|
D | in_test.cil | 16 (userrole USER ROLE)
|
D | name_resolution_test.cil | 16 (userrole USER ROLE)
|
D | bounds.cil | 15 (userrole USER ROLE)
|
/third_party/selinux/libsepol/cil/test/integration_testing/ |
D | nonmls.cil | 13 (userrole foo_u foo_r) 76 (userrole user_u foo_r)
|
D | mls_policy.cil | 31 (userrole foo_u foo_r) 105 (userrole user_u foo_r)
|
/third_party/selinux/secilc/docs/ |
D | cil_user_statements.md | 44 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)
|
D | README.md | 138 * [userrole](cil_user_statements.md#userrole)
|
D | cil_mls_labeling_statements.md | 614 (userrole user role) 615 (userrole user object_r)
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_write_ast.c | 947 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()
|
D | cil.c | 2247 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()
|
D | cil_post.c | 1738 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()
|
D | cil_build_ast.h | 104 void cil_destroy_userrole(struct cil_userrole *userrole);
|
D | cil_build_ast.c | 1832 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()
|
D | cil_internal.h | 1017 void cil_userrole_init(struct cil_userrole **userrole);
|
D | cil_resolve_ast.c | 831 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()
|