Home
last modified time | relevance | path

Searched refs:CIL_FALSE (Results 1 – 13 of 13) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_reset_ast.c32 class->ordered = CIL_FALSE; in cil_reset_class()
46 cil_list_destroy(&cp->perms, CIL_FALSE); in cil_reset_classperms()
117 cil_list_item_destroy(&expr, CIL_FALSE); in cil_reset_userattr()
127 cil_list_destroy(&uas->datum_expr, CIL_FALSE); in cil_reset_userattributeset()
153 cil_list_item_destroy(&expr, CIL_FALSE); in cil_reset_roleattr()
163 cil_list_destroy(&ras->datum_expr, CIL_FALSE); in cil_reset_roleattributeset()
182 cil_list_item_destroy(&expr, CIL_FALSE); in cil_reset_typeattr()
188 attr->used = CIL_FALSE; in cil_reset_typeattr()
193 cil_list_destroy(&tas->datum_expr, CIL_FALSE); in cil_reset_typeattributeset()
212 cil_list_destroy(&sens->cats_list, CIL_FALSE); in cil_reset_sens()
[all …]
Dcil_find.c78 return CIL_FALSE; in cil_type_match_any()
134 rc = CIL_FALSE; in cil_self_match_any()
151 if (&c1->datum != &c2->datum) return CIL_FALSE; in cil_classperms_match_any()
160 return CIL_FALSE; in cil_classperms_match_any()
189 return CIL_FALSE; in __cil_classperms_list_match_any()
218 return CIL_FALSE; in cil_classperms_list_match_any()
272 int rc = CIL_FALSE; in cil_permissionx_match_any()
288 cil_list_destroy(&cl1, CIL_FALSE); in cil_permissionx_match_any()
289 cil_list_destroy(&cl2, CIL_FALSE); in cil_permissionx_match_any()
319 } else if (rc == CIL_FALSE) { in cil_find_matching_avrule()
[all …]
Dcil_policy.c259 return CIL_FALSE; in cil_levels_simple_and_equal()
265 if (cil_levels_simple_and_equal(lvlrange->low, lvlrange->high) == CIL_FALSE) { in cil_levelrange_to_policy()
292 cil_cond_expr_to_policy(out, i1->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
295 cil_cond_expr_to_policy(out, i1->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
297 cil_cond_expr_to_policy(out, i1->next->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
300 cil_cond_expr_to_policy(out, i1->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
302 cil_cond_expr_to_policy(out, i1->next->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
305 cil_cond_expr_to_policy(out, i1->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
307 cil_cond_expr_to_policy(out, i1->next->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
310 cil_cond_expr_to_policy(out, i1->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
[all …]
Dcil.c284 (*db)->disable_dontaudit = CIL_FALSE; in cil_db_init()
285 (*db)->disable_neverallow = CIL_FALSE; in cil_db_init()
286 (*db)->attrs_expand_generated = CIL_FALSE; in cil_db_init()
288 (*db)->preserve_tunables = CIL_FALSE; in cil_db_init()
303 cil_list_destroy(&(*db)->sidorder, CIL_FALSE); in cil_db_destroy()
304 cil_list_destroy(&(*db)->classorder, CIL_FALSE); in cil_db_destroy()
305 cil_list_destroy(&(*db)->catorder, CIL_FALSE); in cil_db_destroy()
306 cil_list_destroy(&(*db)->sensitivityorder, CIL_FALSE); in cil_db_destroy()
318 cil_list_destroy(&(*db)->userprefixes, CIL_FALSE); in cil_db_destroy()
319 cil_list_destroy(&(*db)->selinuxusers, CIL_FALSE); in cil_db_destroy()
[all …]
Dcil_verify.c385 if (sid->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
391 if (class->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
397 if (cat->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
403 if (sens->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
458 return CIL_FALSE; in __cil_is_cat_in_cats()
488 int ok = CIL_FALSE; in __cil_verify_cats_associated_with_sens()
509 int found = CIL_FALSE; in __cil_verify_levelrange_sensitivity()
744 int found = CIL_FALSE; in __cil_verify_context()
781 if (found == CIL_FALSE) { in __cil_verify_context()
1271 cil_list_destroy(&classes, CIL_FALSE); in __cil_verify_permissionx()
Dcil_resolve_ast.c1182 (*ordered)->merged = CIL_FALSE; in __cil_ordered_list_init()
1189 cil_list_destroy(&(*ordered)->list, CIL_FALSE); in __cil_ordered_list_destroy()
1420 changed = CIL_FALSE; in __cil_ordered_lists_merge_all()
1424 if (ordered_list->merged == CIL_FALSE) { in __cil_ordered_lists_merge_all()
1435 if (waiting > 0 && changed == CIL_FALSE) { in __cil_ordered_lists_merge_all()
1438 if (ordered_list->merged == CIL_FALSE) { in __cil_ordered_lists_merge_all()
1461 cil_list_destroy(&composite, CIL_FALSE); in __cil_ordered_lists_merge_all()
1476 int unordered = CIL_FALSE; in cil_resolve_classorder()
1506 cil_list_destroy(&new, CIL_FALSE); in cil_resolve_classorder()
1659 cil_list_destroy(&catset->cats->datum_expr, CIL_FALSE); in cil_resolve_catset()
[all …]
Dcil_list.c260 return CIL_FALSE; in cil_list_contains()
276 return CIL_FALSE; in cil_list_match_any()
Dcil_post.c63 return CIL_FALSE; in cil_verify_is_list()
66 return CIL_FALSE; in cil_verify_is_list()
73 return CIL_FALSE; in cil_verify_is_list()
866 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in __evaluate_cat_expression()
887 if (catset->cats->evaluated == CIL_FALSE) { in __cil_cat_to_bitmap()
1194 return CIL_FALSE; in cil_typeattribute_used()
1202 return CIL_FALSE; in cil_typeattribute_used()
1211 return CIL_FALSE; in cil_typeattribute_used()
1213 return CIL_FALSE; in cil_typeattribute_used()
1223 return CIL_FALSE; in cil_typeattribute_used()
[all …]
Dcil_binary.c1131 cil_list_destroy(&class_list, CIL_FALSE); in __cil_type_rule_to_avtab()
1137 return __cil_type_rule_to_avtab(pdb, db, cil_rule, NULL, CIL_FALSE); in cil_type_rule_to_policydb()
1209 add = CIL_FALSE; in __cil_typetransition_to_avtab()
1246 cil_list_destroy(&class_list, CIL_FALSE); in __cil_typetransition_to_avtab()
1252 return __cil_typetransition_to_avtab(pdb, db, typetrans, NULL, CIL_FALSE, filename_trans_table); in cil_typetransition_to_policydb()
1440 return CIL_FALSE; in __cil_should_expand_attribute()
1567 return __cil_avrule_to_avtab(pdb, db, cil_avrule, NULL, CIL_FALSE); in cil_avrule_to_policydb()
1717 cil_list_destroy(&xperms_list, CIL_FALSE); in __cil_avrulex_ioctl_to_policydb()
1820 cil_list_destroy(&class_list, CIL_FALSE); in __cil_avrulex_to_hashtable_helper()
2242 int swapped = CIL_FALSE; in cil_booleanif_to_policydb()
[all …]
Dcil_build_ast.c202 cil_list_destroy(&block->bi_nodes, CIL_FALSE); in cil_destroy_block()
513 cil_list_destroy(&perm->classperms, CIL_FALSE); in cil_destroy_perm()
625 cil_list_destroy(&cp->perms, CIL_FALSE); in cil_destroy_classperms()
710 cil_list_destroy(cp_list, CIL_FALSE); in cil_destroy_classperms_list()
759 cil_list_destroy(&cp->classperms, CIL_FALSE); in cil_destroy_classpermission()
1289 cil_list_item_destroy(&expr, CIL_FALSE); in cil_destroy_userattribute()
1350 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_userattributeset()
1923 cil_list_item_destroy(&expr, CIL_FALSE); in cil_destroy_roleattribute()
1984 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_roleattributeset()
2364 cil_list_item_destroy(&expr, CIL_FALSE); in cil_destroy_typeattribute()
[all …]
Dcil_internal.h873 #define CIL_FALSE 0 macro
Dcil_write_ast.c1120 case CIL_FALSE: in cil_write_mls()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_resolve_ast.c77 uint32_t changed = CIL_FALSE; in test_cil_resolve_name()
101 uint32_t changed = CIL_FALSE; in test_cil_resolve_name_invalid_type_neg()
140 uint32_t changed = CIL_FALSE; in test_cil_resolve_roleallow()
159 uint32_t changed = CIL_FALSE; in test_cil_resolve_roleallow_srcdecl_neg()
179 uint32_t changed = CIL_FALSE; in test_cil_resolve_roleallow_tgtdecl_neg()
199 uint32_t changed = CIL_FALSE; in test_cil_resolve_classmapping_anon()
221 uint32_t changed = CIL_FALSE; in test_cil_resolve_classmapping_anon_inmacro()
256 uint32_t changed = CIL_FALSE; in test_cil_resolve_classmapping_anon_inmacro_neg()
289 uint32_t changed = CIL_FALSE; in test_cil_resolve_classmapping_named()
309 uint32_t changed = CIL_FALSE; in test_cil_resolve_classmapping_named_classmapname_neg()
[all …]