Home
last modified time | relevance | path

Searched refs:CIL_ROLE (Results 1 – 12 of 12) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_flavor.h166 CIL_ROLE, enumerator
Dcil_reset_ast.c410 case CIL_ROLE: in __cil_reset_node()
Dcil_resolve_ast.c756 cil_list_append(userrole->user->roles, CIL_ROLE, userrole->role); in cil_resolve_userrole()
966 if (node->flavor != CIL_ROLE) { in cil_resolve_roletransition()
2288 case CIL_ROLE: { in cil_resolve_bounds()
2461 case CIL_ROLE: in cil_resolve_call1()
2708 case CIL_ROLE: in cil_resolve_call2()
2795 case CIL_ROLE: in cil_resolve_expr()
3165 rc = cil_resolve_bounds(node, args, CIL_ROLE); in __cil_resolve_ast_node()
Dcil_post.c353 case CIL_ROLE: { in __cil_post_db_count_helper()
427 case CIL_ROLE: { in __cil_post_db_array_helper()
830 case CIL_ROLE: in __cil_expr_to_bitmap_helper()
Dcil.c568 case CIL_ROLE: in cil_destroy_data()
787 case CIL_ROLE: in cil_flavor_to_symtab_index()
926 case CIL_ROLE: in cil_node_to_string()
Dcil_tree.c635 case CIL_ROLE: { in cil_tree_print_node()
1549 case CIL_ROLE: cil_log(CIL_INFO, "role:"); break; in cil_tree_print_node()
Dcil_policy.c974 case CIL_ROLE: in cil_name_to_policy()
1160 …(users, &userrole->user->datum, (struct cil_symtab_datum *)userrole->role, CIL_USERROLE, CIL_ROLE); in __cil_gen_policy_node_helper()
Dcil_build_ast.c1506 …en_node(db, ast_node, (struct cil_symtab_datum*)role, (hashtab_key_t)key, CIL_SYM_ROLES, CIL_ROLE); in cil_gen_role()
1820 rc = cil_gen_expr(parse_current->next->next, CIL_ROLE, &attrset->str_expr); in cil_gen_roleattributeset()
2368 leaf_expr_flavor = CIL_ROLE; in __cil_fill_constraint_leaf_expr()
4732 param->flavor = CIL_ROLE; in cil_gen_macro()
5267 case CIL_ROLE: in cil_gen_bounds()
5758 rc = cil_gen_bounds(db, parse_current, ast_node, CIL_ROLE); in __cil_build_ast_node_helper()
Dcil_binary.c2013 } else if (expr_flavor == CIL_ROLE) { in __cil_constrain_expr_datum_to_sepol_expr()
3134 case CIL_ROLE: in __cil_node_to_policydb()
3185 case CIL_ROLE: in __cil_node_to_policydb()
Dcil_verify.c1327 case CIL_ROLE: in __cil_verify_helper()
Dcil_copy_ast.c1678 case CIL_ROLE: in __cil_copy_node_helper()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_build_ast.c5298 CuAssertIntEquals(tc, test_ast_node->flavor, CIL_ROLE); in test_cil_gen_role()