• Home
  • Raw
  • Download

Lines Matching refs:role

55 static void only_dominates_self(policydb_t * p, role_datum_t * role)  in only_dominates_self()  argument
61 ebitmap_for_each_positive_bit(&role->dominates, tnode, i) { in only_dominates_self()
63 CU_ASSERT(i == role->s.value - 1); in only_dominates_self()
71 role_datum_t *role; in base_role_tests() local
83 role = test_role_type_set(base, "g_b_role_1", NULL, types, 1, 0); in base_role_tests()
85 only_dominates_self(base, role); in base_role_tests()
93 role = test_role_type_set(base, "o1_b_role_1", decl, types, 1, 0); in base_role_tests()
95 only_dominates_self(base, role); in base_role_tests()
100 role_datum_t *role; in module_role_tests() local
114 role = test_role_type_set(base, "g_m1_role_1", NULL, types, 1, 0); in module_role_tests()
116 only_dominates_self(base, role); in module_role_tests()
124 role = test_role_type_set(base, "o1_m1_role_1", decl, types, 1, 0); in module_role_tests()
126 only_dominates_self(base, role); in module_role_tests()
137 role = test_role_type_set(base, "g_b_role_2", NULL, types, 2, 0); in module_role_tests()
139 only_dominates_self(base, role); in module_role_tests()
150 role = test_role_type_set(base, "g_b_role_3", NULL, types, 3, 0); in module_role_tests()
152 only_dominates_self(base, role); in module_role_tests()
160 role = test_role_type_set(base, "o1_b_role_2", NULL, types, 1, 0); in module_role_tests()
162role = test_role_type_set(base, "o1_b_role_2", test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"),… in module_role_tests()
164 only_dominates_self(base, role); in module_role_tests()
172 role = test_role_type_set(base, "g_b_role_4", NULL, types, 1, 0); in module_role_tests()
174role = test_role_type_set(base, "g_b_role_4", test_find_decl_by_sym(base, SYM_TYPES, "tag_o2_m1"),… in module_role_tests()
176 only_dominates_self(base, role); in module_role_tests()
184role = test_role_type_set(base, "o3_b_role_1", test_find_decl_by_sym(base, SYM_TYPES, "tag_o3_b"),… in module_role_tests()
186role = test_role_type_set(base, "o3_b_role_1", test_find_decl_by_sym(base, SYM_TYPES, "tag_o3_m1")… in module_role_tests()
188 only_dominates_self(base, role); in module_role_tests()
197role = test_role_type_set(base, "o4_b_role_1", test_find_decl_by_sym(base, SYM_TYPES, "tag_o4_b"),… in module_role_tests()
200 role = test_role_type_set(base, "o4_b_role_1", NULL, types, 2, 0); in module_role_tests()
202 only_dominates_self(base, role); in module_role_tests()