Searched refs:userrole (Results 1 – 22 of 22) 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/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)
|
/external/selinux/secilc/test/ |
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 | 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)
|
/external/selinux/libsepol/cil/src/ |
D | cil_tree.c | 738 struct cil_userrole *userrole = node->data; in cil_tree_print_node() local 742 if (userrole->user != NULL) { in cil_tree_print_node() 743 datum = userrole->user; in cil_tree_print_node() 745 } else if (userrole->user_str != NULL) { in cil_tree_print_node() 746 cil_log(CIL_INFO, " %s", userrole->user_str); in cil_tree_print_node() 749 if (userrole->role != NULL) { in cil_tree_print_node() 750 datum = userrole->role; in cil_tree_print_node() 752 } else if (userrole->role_str != NULL) { in cil_tree_print_node() 753 cil_log(CIL_INFO, " %s", userrole->role_str); in cil_tree_print_node()
|
D | cil.c | 1999 void cil_userrole_init(struct cil_userrole **userrole) in cil_userrole_init() argument 2001 *userrole = cil_malloc(sizeof(**userrole)); in cil_userrole_init() 2003 (*userrole)->user_str = NULL; in cil_userrole_init() 2004 (*userrole)->user = NULL; in cil_userrole_init() 2005 (*userrole)->role_str = NULL; in cil_userrole_init() 2006 (*userrole)->role = NULL; in cil_userrole_init()
|
D | cil_post.c | 1724 struct cil_userrole *userrole = NULL; in __cil_post_db_userrole_helper() local 1746 userrole = node->data; in __cil_post_db_userrole_helper() 1747 user_datum = userrole->user; in __cil_post_db_userrole_helper() 1748 role_datum = userrole->role; in __cil_post_db_userrole_helper() 1752 u_attr = userrole->user; in __cil_post_db_userrole_helper() 1767 user = userrole->user; in __cil_post_db_userrole_helper()
|
D | cil_write_ast.c | 543 struct cil_userrole *userrole = (struct cil_userrole *)node->data; in cil_write_userrole() local 544 fprintf(cil_out, "(%s %s %s)\n", CIL_KEY_USERROLE, userrole->user_str, in cil_write_userrole() 545 userrole->role_str); in cil_write_userrole()
|
D | cil_build_ast.h | 102 void cil_destroy_userrole(struct cil_userrole *userrole);
|
D | cil_build_ast.c | 1768 struct cil_userrole *userrole = NULL; in cil_gen_userrole() local 1780 cil_userrole_init(&userrole); in cil_gen_userrole() 1782 userrole->user_str = parse_current->next->data; in cil_gen_userrole() 1783 userrole->role_str = parse_current->next->next->data; in cil_gen_userrole() 1785 ast_node->data = userrole; in cil_gen_userrole() 1792 cil_destroy_userrole(userrole); in cil_gen_userrole() 1796 void cil_destroy_userrole(struct cil_userrole *userrole) in cil_destroy_userrole() argument 1798 if (userrole == NULL) { in cil_destroy_userrole() 1802 free(userrole); in cil_destroy_userrole()
|
D | cil_internal.h | 1002 void cil_userrole_init(struct cil_userrole **userrole);
|
D | cil_resolve_ast.c | 826 struct cil_userrole *userrole = current->data; in cil_resolve_userrole() local 831 rc = cil_resolve_name(current, userrole->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrole() 835 userrole->user = (struct cil_user*)user_datum; in cil_resolve_userrole() 837 rc = cil_resolve_name(current, userrole->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_userrole() 841 userrole->role = role_datum; in cil_resolve_userrole()
|