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()
189 attr->keep = CIL_FALSE; in cil_reset_typeattr()
194 cil_list_destroy(&tas->datum_expr, CIL_FALSE); in cil_reset_typeattributeset()
[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.c452 (*db)->disable_dontaudit = CIL_FALSE; in cil_db_init()
453 (*db)->disable_neverallow = CIL_FALSE; in cil_db_init()
454 (*db)->attrs_expand_generated = CIL_FALSE; in cil_db_init()
456 (*db)->preserve_tunables = CIL_FALSE; in cil_db_init()
471 cil_list_destroy(&(*db)->sidorder, CIL_FALSE); in cil_db_destroy()
472 cil_list_destroy(&(*db)->classorder, CIL_FALSE); in cil_db_destroy()
473 cil_list_destroy(&(*db)->catorder, CIL_FALSE); in cil_db_destroy()
474 cil_list_destroy(&(*db)->sensitivityorder, CIL_FALSE); in cil_db_destroy()
488 cil_list_destroy(&(*db)->userprefixes, CIL_FALSE); in cil_db_destroy()
489 cil_list_destroy(&(*db)->selinuxusers, CIL_FALSE); in cil_db_destroy()
[all …]
Dcil_verify.c388 if (sid->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
394 if (class->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
400 if (cat->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
406 if (sens->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
460 return CIL_FALSE; in __cil_is_cat_in_cats()
490 int ok = CIL_FALSE; in __cil_verify_cats_associated_with_sens()
511 int found = CIL_FALSE; in __cil_verify_levelrange_sensitivity()
746 int found = CIL_FALSE; in __cil_verify_context()
783 if (found == CIL_FALSE) { in __cil_verify_context()
1313 cil_list_destroy(&classes, CIL_FALSE); in __cil_verify_permissionx()
Dcil_resolve_ast.c1176 (*ordered)->merged = CIL_FALSE; in __cil_ordered_list_init()
1183 cil_list_destroy(&(*ordered)->list, CIL_FALSE); in __cil_ordered_list_destroy()
1414 changed = CIL_FALSE; in __cil_ordered_lists_merge_all()
1418 if (ordered_list->merged == CIL_FALSE) { in __cil_ordered_lists_merge_all()
1429 if (waiting > 0 && changed == CIL_FALSE) { in __cil_ordered_lists_merge_all()
1432 if (ordered_list->merged == CIL_FALSE) { in __cil_ordered_lists_merge_all()
1455 cil_list_destroy(&composite, CIL_FALSE); in __cil_ordered_lists_merge_all()
1470 int unordered = CIL_FALSE; in cil_resolve_classorder()
1500 cil_list_destroy(&new, CIL_FALSE); in cil_resolve_classorder()
1534 cil_list_destroy(&new, CIL_FALSE); in cil_resolve_sidorder()
[all …]
Dcil_list.c260 return CIL_FALSE; in cil_list_contains()
276 return CIL_FALSE; in cil_list_match_any()
Dcil_binary.c1118 cil_list_destroy(&class_list, CIL_FALSE); in __cil_type_rule_to_avtab()
1124 return __cil_type_rule_to_avtab(pdb, db, cil_rule, NULL, CIL_FALSE); in cil_type_rule_to_policydb()
1219 cil_list_destroy(&class_list, CIL_FALSE); in __cil_typetransition_to_avtab()
1225 return __cil_typetransition_to_avtab(pdb, db, typetrans, NULL, CIL_FALSE); in cil_typetransition_to_policydb()
1413 return CIL_FALSE; in __cil_should_expand_attribute()
1534 return __cil_avrule_to_avtab(pdb, db, cil_avrule, NULL, CIL_FALSE); in cil_avrule_to_policydb()
1682 cil_list_destroy(&xperms_list, CIL_FALSE); in __cil_avrulex_ioctl_to_policydb()
1787 cil_list_destroy(&class_list, CIL_FALSE); in __cil_avrulex_to_hashtable_helper()
2204 int swapped = CIL_FALSE; in cil_booleanif_to_policydb()
2346 add = CIL_FALSE; in cil_roletrans_to_policydb()
[all …]
Dcil_post.c140 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 …]
Dcil_build_ast.c93 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 …]
Dcil_internal.h896 #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 …]