Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/cil/src/
Dcil_reset_ast.c34 class->ordered = CIL_FALSE; in cil_reset_class()
39 cil_list_destroy(&perm->classperms, CIL_FALSE); in cil_reset_perm()
49 cil_list_destroy(&cp->perms, CIL_FALSE); in cil_reset_classperms()
58 cil_list_destroy(&cp->classperms, CIL_FALSE); in cil_reset_classpermission()
128 cil_list_item_destroy(&expr, CIL_FALSE); in cil_reset_userattr()
138 cil_list_destroy(&uas->datum_expr, CIL_FALSE); in cil_reset_userattributeset()
167 cil_list_item_destroy(&expr, CIL_FALSE); in cil_reset_roleattr()
177 cil_list_destroy(&ras->datum_expr, CIL_FALSE); in cil_reset_roleattributeset()
196 cil_list_item_destroy(&expr, CIL_FALSE); in cil_reset_typeattr()
202 attr->used = CIL_FALSE; in cil_reset_typeattr()
[all …]
Dcil_find.c79 return CIL_FALSE; in cil_type_match_any()
135 rc = CIL_FALSE; in cil_self_match_any()
152 if (&c1->datum != &c2->datum) return CIL_FALSE; in cil_classperms_match_any()
161 return CIL_FALSE; in cil_classperms_match_any()
190 return CIL_FALSE; in __cil_classperms_list_match_any()
219 return CIL_FALSE; in cil_classperms_list_match_any()
273 int rc = CIL_FALSE; in cil_permissionx_match_any()
289 cil_list_destroy(&cl1, CIL_FALSE); in cil_permissionx_match_any()
290 cil_list_destroy(&cl2, CIL_FALSE); in cil_permissionx_match_any()
320 } else if (rc == CIL_FALSE) { in cil_find_matching_avrule()
[all …]
Dcil_policy.c260 return CIL_FALSE; in cil_levels_simple_and_equal()
266 if (cil_levels_simple_and_equal(lvlrange->low, lvlrange->high) == CIL_FALSE) { in cil_levelrange_to_policy()
293 cil_cond_expr_to_policy(out, i1->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
296 cil_cond_expr_to_policy(out, i1->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
298 cil_cond_expr_to_policy(out, i1->next->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
301 cil_cond_expr_to_policy(out, i1->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
303 cil_cond_expr_to_policy(out, i1->next->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
306 cil_cond_expr_to_policy(out, i1->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
308 cil_cond_expr_to_policy(out, i1->next->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
311 cil_cond_expr_to_policy(out, i1->next->data, CIL_FALSE); in cil_cond_expr_to_policy()
[all …]
Dcil_verify.c83 return CIL_FALSE; in __cil_is_reserved_name()
92 return CIL_FALSE; in __cil_is_reserved_name()
119 if (db->qualified_names == CIL_FALSE) { in cil_verify_name()
367 int found_true = CIL_FALSE; in cil_verify_conditional_blocks()
368 int found_false = CIL_FALSE; in cil_verify_conditional_blocks()
533 if (sid->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
539 if (class->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
545 if (cat->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
551 if (sens->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper()
605 return CIL_FALSE; in __cil_is_cat_in_cats()
[all …]
Dcil.c443 (*db)->disable_dontaudit = CIL_FALSE; in cil_db_init()
444 (*db)->disable_neverallow = CIL_FALSE; in cil_db_init()
445 (*db)->attrs_expand_generated = CIL_FALSE; in cil_db_init()
447 (*db)->preserve_tunables = CIL_FALSE; in cil_db_init()
450 (*db)->multiple_decls = CIL_FALSE; in cil_db_init()
451 (*db)->qualified_names = CIL_FALSE; in cil_db_init()
464 cil_list_destroy(&(*db)->sidorder, CIL_FALSE); in cil_db_destroy()
465 cil_list_destroy(&(*db)->classorder, CIL_FALSE); in cil_db_destroy()
466 cil_list_destroy(&(*db)->catorder, CIL_FALSE); in cil_db_destroy()
467 cil_list_destroy(&(*db)->sensitivityorder, CIL_FALSE); in cil_db_destroy()
[all …]
Dcil_resolve_ast.c155 cil_list_destroy(perm_datums, CIL_FALSE); in __cil_resolve_perms()
1194 (*ordered)->merged = CIL_FALSE; in __cil_ordered_list_init()
1201 cil_list_destroy(&(*ordered)->list, CIL_FALSE); in __cil_ordered_list_destroy()
1432 changed = CIL_FALSE; in __cil_ordered_lists_merge_all()
1436 if (ordered_list->merged == CIL_FALSE) { in __cil_ordered_lists_merge_all()
1447 if (waiting > 0 && changed == CIL_FALSE) { in __cil_ordered_lists_merge_all()
1450 if (ordered_list->merged == CIL_FALSE) { in __cil_ordered_lists_merge_all()
1473 cil_list_destroy(&composite, CIL_FALSE); in __cil_ordered_lists_merge_all()
1488 int unordered = CIL_FALSE; in cil_resolve_classorder()
1524 cil_list_destroy(&new, CIL_FALSE); in cil_resolve_classorder()
[all …]
Dcil_list.c261 return CIL_FALSE; in cil_list_contains()
277 return CIL_FALSE; in cil_list_match_any()
Dcil_binary.c1158 cil_list_destroy(&class_list, CIL_FALSE); in __cil_type_rule_to_avtab()
1164 return __cil_type_rule_to_avtab(pdb, db, cil_rule, NULL, CIL_FALSE); in cil_type_rule_to_policydb()
1285 cil_list_destroy(&class_list, CIL_FALSE); in __cil_typetransition_to_avtab()
1291 return __cil_typetransition_to_avtab(pdb, db, typetrans, NULL, CIL_FALSE); in cil_typetransition_to_policydb()
1479 return CIL_FALSE; in __cil_should_expand_attribute()
1600 return __cil_avrule_to_avtab(pdb, db, cil_avrule, NULL, CIL_FALSE); in cil_avrule_to_policydb()
1748 cil_list_destroy(&xperms_list, CIL_FALSE); in __cil_avrulex_ioctl_to_policydb()
1845 cil_list_destroy(&class_list, CIL_FALSE); in __cil_avrulex_to_hashtable_helper()
2316 int swapped = CIL_FALSE; in cil_booleanif_to_policydb()
2463 add = CIL_FALSE; in cil_roletrans_to_policydb()
[all …]
Dcil_build_ast.c89 return CIL_FALSE; in cil_allow_multiple_decls()
106 return CIL_FALSE; in cil_allow_multiple_decls()
260 cil_list_destroy(&block->bi_nodes, CIL_FALSE); in cil_destroy_block()
319 cil_list_remove(inherit->block->bi_nodes, CIL_NODE, node, CIL_FALSE); in cil_destroy_blockinherit()
409 in->is_after = CIL_FALSE; in cil_gen_in()
419 in->is_after = CIL_FALSE; in cil_gen_in()
618 cil_list_destroy(&perm->classperms, CIL_FALSE); in cil_destroy_perm()
730 cil_list_destroy(&cp->perms, CIL_FALSE); in cil_destroy_classperms()
806 cil_list_destroy(cp_list, CIL_FALSE); in cil_destroy_classperms_list()
855 cil_list_destroy(&cp->classperms, CIL_FALSE); in cil_destroy_classpermission()
[all …]
Dcil_post.c147 return CIL_FALSE; in cil_verify_is_list()
150 return CIL_FALSE; in cil_verify_is_list()
157 return CIL_FALSE; in cil_verify_is_list()
1129 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in __evaluate_cat_expression()
1150 if (catset->cats->evaluated == CIL_FALSE) { in __cil_cat_to_bitmap()
1457 return CIL_FALSE; in cil_typeattribute_used()
1465 return CIL_FALSE; in cil_typeattribute_used()
1474 return CIL_FALSE; in cil_typeattribute_used()
1476 return CIL_FALSE; in cil_typeattribute_used()
1486 return CIL_FALSE; in cil_typeattribute_used()
[all …]
Dcil_tree.c165 return CIL_FALSE; in cil_tree_subtree_has_decl()
Dcil_write_ast.c915 write_level(out, level, CIL_FALSE); in cil_write_ast_node()
922 write_range(out, lvlrange, CIL_FALSE); in cil_write_ast_node()
1227 write_context(out, context, CIL_FALSE); in cil_write_ast_node()
Dcil_internal.h905 #define CIL_FALSE 0 macro
/third_party/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 …]