/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 32 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() 189 attr->keep = CIL_FALSE; in cil_reset_typeattr() 194 cil_list_destroy(&tas->datum_expr, CIL_FALSE); in cil_reset_typeattributeset() [all …]
|
D | cil_find.c | 78 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 …]
|
D | cil_policy.c | 259 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 …]
|
D | cil.c | 289 (*db)->disable_dontaudit = CIL_FALSE; in cil_db_init() 290 (*db)->disable_neverallow = CIL_FALSE; in cil_db_init() 291 (*db)->attrs_expand_generated = CIL_FALSE; in cil_db_init() 293 (*db)->preserve_tunables = CIL_FALSE; in cil_db_init() 308 cil_list_destroy(&(*db)->sidorder, CIL_FALSE); in cil_db_destroy() 309 cil_list_destroy(&(*db)->classorder, CIL_FALSE); in cil_db_destroy() 310 cil_list_destroy(&(*db)->catorder, CIL_FALSE); in cil_db_destroy() 311 cil_list_destroy(&(*db)->sensitivityorder, CIL_FALSE); in cil_db_destroy() 325 cil_list_destroy(&(*db)->userprefixes, CIL_FALSE); in cil_db_destroy() 326 cil_list_destroy(&(*db)->selinuxusers, CIL_FALSE); in cil_db_destroy() [all …]
|
D | cil_resolve_ast.c | 1180 (*ordered)->merged = CIL_FALSE; in __cil_ordered_list_init() 1187 cil_list_destroy(&(*ordered)->list, CIL_FALSE); in __cil_ordered_list_destroy() 1418 changed = CIL_FALSE; in __cil_ordered_lists_merge_all() 1422 if (ordered_list->merged == CIL_FALSE) { in __cil_ordered_lists_merge_all() 1433 if (waiting > 0 && changed == CIL_FALSE) { in __cil_ordered_lists_merge_all() 1436 if (ordered_list->merged == CIL_FALSE) { in __cil_ordered_lists_merge_all() 1459 cil_list_destroy(&composite, CIL_FALSE); in __cil_ordered_lists_merge_all() 1474 int unordered = CIL_FALSE; in cil_resolve_classorder() 1504 cil_list_destroy(&new, CIL_FALSE); in cil_resolve_classorder() 1538 cil_list_destroy(&new, CIL_FALSE); in cil_resolve_sidorder() [all …]
|
D | cil_verify.c | 385 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() 1311 cil_list_destroy(&classes, CIL_FALSE); in __cil_verify_permissionx()
|
D | cil_binary.c | 1135 cil_list_destroy(&class_list, CIL_FALSE); in __cil_type_rule_to_avtab() 1141 return __cil_type_rule_to_avtab(pdb, db, cil_rule, NULL, CIL_FALSE); in cil_type_rule_to_policydb() 1213 add = CIL_FALSE; in __cil_typetransition_to_avtab() 1250 cil_list_destroy(&class_list, CIL_FALSE); in __cil_typetransition_to_avtab() 1256 return __cil_typetransition_to_avtab(pdb, db, typetrans, NULL, CIL_FALSE, filename_trans_table); in cil_typetransition_to_policydb() 1444 return CIL_FALSE; in __cil_should_expand_attribute() 1571 return __cil_avrule_to_avtab(pdb, db, cil_avrule, NULL, CIL_FALSE); in cil_avrule_to_policydb() 1721 cil_list_destroy(&xperms_list, CIL_FALSE); in __cil_avrulex_ioctl_to_policydb() 1826 cil_list_destroy(&class_list, CIL_FALSE); in __cil_avrulex_to_hashtable_helper() 2250 int swapped = CIL_FALSE; in cil_booleanif_to_policydb() [all …]
|
D | cil_list.c | 260 return CIL_FALSE; in cil_list_contains() 276 return CIL_FALSE; in cil_list_match_any()
|
D | cil_post.c | 140 return CIL_FALSE; in cil_verify_is_list() 143 return CIL_FALSE; in cil_verify_is_list() 150 return CIL_FALSE; in cil_verify_is_list() 1115 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in __evaluate_cat_expression() 1136 if (catset->cats->evaluated == CIL_FALSE) { in __cil_cat_to_bitmap() 1443 return CIL_FALSE; in cil_typeattribute_used() 1451 return CIL_FALSE; in cil_typeattribute_used() 1460 return CIL_FALSE; in cil_typeattribute_used() 1462 return CIL_FALSE; in cil_typeattribute_used() 1472 return CIL_FALSE; in cil_typeattribute_used() [all …]
|
D | cil_build_ast.c | 93 int rc = CIL_FALSE; in cil_is_datum_multiple_decl() 236 cil_list_destroy(&block->bi_nodes, CIL_FALSE); in cil_destroy_block() 547 cil_list_destroy(&perm->classperms, CIL_FALSE); in cil_destroy_perm() 659 cil_list_destroy(&cp->perms, CIL_FALSE); in cil_destroy_classperms() 744 cil_list_destroy(cp_list, CIL_FALSE); in cil_destroy_classperms_list() 793 cil_list_destroy(&cp->classperms, CIL_FALSE); in cil_destroy_classpermission() 1323 cil_list_item_destroy(&expr, CIL_FALSE); in cil_destroy_userattribute() 1384 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_userattributeset() 1957 cil_list_item_destroy(&expr, CIL_FALSE); in cil_destroy_roleattribute() 2018 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_roleattributeset() [all …]
|
D | cil_internal.h | 895 #define CIL_FALSE 0 macro
|
D | cil_write_ast.c | 1120 case CIL_FALSE: in cil_write_mls()
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_resolve_ast.c | 77 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 …]
|