Home
last modified time | relevance | path

Searched refs:CIL_FALSE (Results 1 – 12 of 12) 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.c74 return CIL_FALSE; in cil_type_match_any()
130 rc = CIL_FALSE; in cil_self_match_any()
147 if (&c1->datum != &c2->datum) return CIL_FALSE; in cil_classperms_match_any()
156 return CIL_FALSE; in cil_classperms_match_any()
185 return CIL_FALSE; in __cil_classperms_list_match_any()
214 return CIL_FALSE; in cil_classperms_list_match_any()
268 int rc = CIL_FALSE; in cil_permissionx_match_any()
284 cil_list_destroy(&cl1, CIL_FALSE); in cil_permissionx_match_any()
285 cil_list_destroy(&cl2, CIL_FALSE); in cil_permissionx_match_any()
315 } else if (rc == CIL_FALSE) { in cil_find_matching_avrule()
[all …]
Dcil.c279 (*db)->disable_dontaudit = CIL_FALSE; in cil_db_init()
280 (*db)->disable_neverallow = CIL_FALSE; in cil_db_init()
281 (*db)->preserve_tunables = CIL_FALSE; in cil_db_init()
296 cil_list_destroy(&(*db)->sidorder, CIL_FALSE); in cil_db_destroy()
297 cil_list_destroy(&(*db)->classorder, CIL_FALSE); in cil_db_destroy()
298 cil_list_destroy(&(*db)->catorder, CIL_FALSE); in cil_db_destroy()
299 cil_list_destroy(&(*db)->sensitivityorder, CIL_FALSE); in cil_db_destroy()
311 cil_list_destroy(&(*db)->userprefixes, CIL_FALSE); in cil_db_destroy()
312 cil_list_destroy(&(*db)->selinuxusers, CIL_FALSE); in cil_db_destroy()
479 cil_list_destroy(*data, CIL_FALSE); in cil_destroy_data()
[all …]
Dcil_verify.c379 if (sid->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
385 if (class->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
391 if (cat->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
397 if (sens->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
452 return CIL_FALSE; in __cil_is_cat_in_cats()
482 int ok = CIL_FALSE; in __cil_verify_cats_associated_with_sens()
503 int found = CIL_FALSE; in __cil_verify_levelrange_sensitivity()
738 int found = CIL_FALSE; in __cil_verify_context()
775 if (found == CIL_FALSE) { in __cil_verify_context()
1271 cil_list_destroy(&classes, CIL_FALSE); in __cil_verify_permissionx()
Dcil_binary.c567 if (cil_attr->used == CIL_FALSE) { in cil_typeattribute_to_policydb()
630 if (cil_attr->used == CIL_FALSE) { in cil_typeattribute_to_bitmap()
1107 cil_list_destroy(&class_list, CIL_FALSE); in __cil_type_rule_to_avtab()
1113 return __cil_type_rule_to_avtab(pdb, db, cil_rule, NULL, CIL_FALSE); in cil_type_rule_to_policydb()
1181 add = CIL_FALSE; in __cil_typetransition_to_avtab()
1212 cil_list_destroy(&class_list, CIL_FALSE); in __cil_typetransition_to_avtab()
1218 return __cil_typetransition_to_avtab(pdb, db, typetrans, NULL, CIL_FALSE, filename_trans_table); in cil_typetransition_to_policydb()
1447 return __cil_avrule_to_avtab(pdb, db, cil_avrule, NULL, CIL_FALSE); in cil_avrule_to_policydb()
1597 cil_list_destroy(&xperms_list, CIL_FALSE); in __cil_avrulex_ioctl_to_policydb()
1700 cil_list_destroy(&class_list, CIL_FALSE); in __cil_avrulex_to_hashtable_helper()
[all …]
Dcil_resolve_ast.c1126 (*ordered)->merged = CIL_FALSE; in __cil_ordered_list_init()
1133 cil_list_destroy(&(*ordered)->list, CIL_FALSE); in __cil_ordered_list_destroy()
1364 changed = CIL_FALSE; in __cil_ordered_lists_merge_all()
1368 if (ordered_list->merged == CIL_FALSE) { in __cil_ordered_lists_merge_all()
1379 if (waiting > 0 && changed == CIL_FALSE) { in __cil_ordered_lists_merge_all()
1382 if (ordered_list->merged == CIL_FALSE) { in __cil_ordered_lists_merge_all()
1405 cil_list_destroy(&composite, CIL_FALSE); in __cil_ordered_lists_merge_all()
1420 int unordered = CIL_FALSE; in cil_resolve_classorder()
1602 cil_list_destroy(&catset->cats->datum_expr, CIL_FALSE); in cil_resolve_catset()
2264 cil_list_destroy(&trace, CIL_FALSE); in cil_print_recursive_blockinherit()
[all …]
Dcil_list.c260 return CIL_FALSE; in cil_list_contains()
276 return CIL_FALSE; in cil_list_match_any()
Dcil_build_ast.c204 cil_list_destroy(&block->bi_nodes, CIL_FALSE); in cil_destroy_block()
511 cil_list_destroy(&perm->classperms, CIL_FALSE); in cil_destroy_perm()
620 cil_list_destroy(&cp->perms, CIL_FALSE); in cil_destroy_classperms()
705 cil_list_destroy(cp_list, CIL_FALSE); in cil_destroy_classperms_list()
755 cil_list_destroy(&cp->classperms, CIL_FALSE); in cil_destroy_classpermission()
1291 cil_list_item_destroy(&expr, CIL_FALSE); in cil_destroy_userattribute()
1353 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_userattributeset()
1937 cil_list_item_destroy(&expr, CIL_FALSE); in cil_destroy_roleattribute()
1999 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_roleattributeset()
2386 cil_list_item_destroy(&expr, CIL_FALSE); in cil_destroy_typeattribute()
[all …]
Dcil_post.c60 return CIL_FALSE; in cil_verify_is_list()
63 return CIL_FALSE; in cil_verify_is_list()
70 return CIL_FALSE; in cil_verify_is_list()
864 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in __evaluate_cat_expression()
869 cil_list_destroy(&new, CIL_FALSE); in __evaluate_cat_expression()
891 if (catset->cats->evaluated == CIL_FALSE) { in __cil_cat_to_bitmap()
1753 cil_list_destroy(&cp->perms, CIL_FALSE); in __evaluate_classperms()
1991 db->mls = CIL_FALSE; in cil_post_verify()
Dcil_policy.c856 case CIL_FALSE: in __cil_booleanif_node_helper()
878 if (node->parent->flavor == CIL_FALSE) { in __cil_booleanif_last_child_helper()
1419 cil_list_destroy(&users, CIL_FALSE); in cil_gen_policy()
1420 cil_list_destroy(&cats, CIL_FALSE); in cil_gen_policy()
1421 cil_list_destroy(&sens, CIL_FALSE); in cil_gen_policy()
Dcil_internal.h852 #define CIL_FALSE 0 macro
/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 …]