Searched refs:userrole (Results 1 – 21 of 21) sorted by relevance
/external/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)
|
/external/selinux/secilc/test/ |
D | minimum.cil | 15 (userrole USER ROLE)
|
D | policy.cil | 222 (userrole foo_u foo_role) 239 (userrole ua4 foo_role_a) 243 (userrole system_u system_r) 247 (userrole user_u user_r)
|
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)
|
/external/selinux/libsepol/cil/src/ |
D | cil_tree.c | 641 struct cil_userrole *userrole = node->data; in cil_tree_print_node() local 645 if (userrole->user != NULL) { in cil_tree_print_node() 646 datum = userrole->user; in cil_tree_print_node() 648 } else if (userrole->user_str != NULL) { in cil_tree_print_node() 649 cil_log(CIL_INFO, " %s", userrole->user_str); in cil_tree_print_node() 652 if (userrole->role != NULL) { in cil_tree_print_node() 653 datum = userrole->role; in cil_tree_print_node() 655 } else if (userrole->role_str != NULL) { in cil_tree_print_node() 656 cil_log(CIL_INFO, " %s", userrole->role_str); in cil_tree_print_node()
|
D | cil.c | 1934 void cil_userrole_init(struct cil_userrole **userrole) in cil_userrole_init() argument 1936 *userrole = cil_malloc(sizeof(**userrole)); in cil_userrole_init() 1938 (*userrole)->user_str = NULL; in cil_userrole_init() 1939 (*userrole)->user = NULL; in cil_userrole_init() 1940 (*userrole)->role_str = NULL; in cil_userrole_init() 1941 (*userrole)->role = NULL; in cil_userrole_init()
|
D | cil_post.c | 1384 struct cil_userrole *userrole = NULL; in __cil_post_db_userrole_helper() local 1406 userrole = node->data; in __cil_post_db_userrole_helper() 1407 user_datum = userrole->user; in __cil_post_db_userrole_helper() 1408 role_datum = userrole->role; in __cil_post_db_userrole_helper() 1412 u_attr = userrole->user; in __cil_post_db_userrole_helper() 1427 user = userrole->user; in __cil_post_db_userrole_helper()
|
D | cil_build_ast.h | 102 void cil_destroy_userrole(struct cil_userrole *userrole);
|
D | cil_build_ast.c | 1744 struct cil_userrole *userrole = NULL; in cil_gen_userrole() local 1756 cil_userrole_init(&userrole); in cil_gen_userrole() 1758 userrole->user_str = parse_current->next->data; in cil_gen_userrole() 1759 userrole->role_str = parse_current->next->next->data; in cil_gen_userrole() 1761 ast_node->data = userrole; in cil_gen_userrole() 1769 cil_destroy_userrole(userrole); in cil_gen_userrole() 1773 void cil_destroy_userrole(struct cil_userrole *userrole) in cil_destroy_userrole() argument 1775 if (userrole == NULL) { in cil_destroy_userrole() 1779 free(userrole); in cil_destroy_userrole()
|
D | cil_internal.h | 955 void cil_userrole_init(struct cil_userrole **userrole);
|
D | cil_resolve_ast.c | 770 struct cil_userrole *userrole = current->data; in cil_resolve_userrole() local 775 rc = cil_resolve_name(current, userrole->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrole() 779 userrole->user = (struct cil_user*)user_datum; in cil_resolve_userrole() 781 rc = cil_resolve_name(current, userrole->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_userrole() 785 userrole->role = role_datum; in cil_resolve_userrole()
|
/external/selinux/secilc/docs/ |
D | cil_user_statements.md | 40 userrole section in User Statements 47 (userrole user_id role_id) 58 <td align="left"><p><code>userrole</code></p></td> 59 <td align="left"><p>The <code>userrole</code> keyword.</p></td> 79 (userrole user role) 272 (userrole user role)
|
D | README.md | 137 * [userrole](cil_user_statements.md#userrole)
|
D | cil_mls_labeling_statements.md | 571 (userrole user role) 572 (userrole user object_r)
|