Searched refs:CIL_TRUE (Results 1 – 12 of 12) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_find.c | 54 return CIL_TRUE; in cil_type_match_any() 60 return CIL_TRUE; in cil_type_match_any() 66 return CIL_TRUE; in cil_type_match_any() 73 return CIL_TRUE; in cil_type_match_any() 75 return CIL_TRUE; in cil_type_match_any() 157 if (&p1->datum == &p2->datum) return CIL_TRUE; in cil_classperms_match_any() 173 if (rc == CIL_TRUE) return CIL_TRUE; in __cil_classperms_list_match_any() 179 if (rc == CIL_TRUE) return CIL_TRUE; in __cil_classperms_list_match_any() 186 if (rc == CIL_TRUE) return CIL_TRUE; in __cil_classperms_list_match_any() 202 if (rc == CIL_TRUE) return CIL_TRUE; in cil_classperms_list_match_any() [all …]
|
D | cil_policy.c | 84 if (blk->is_abstract == CIL_TRUE) { in __cil_gather_statements_helper() 254 return CIL_TRUE; in cil_levels_simple_and_equal() 257 return CIL_TRUE; in cil_levels_simple_and_equal() 325 if (first == CIL_TRUE) { in cil_cond_expr_to_policy() 329 if (first == CIL_TRUE) { in cil_cond_expr_to_policy() 1081 int first = CIL_TRUE; in cil_typeattributes_to_policy() 1100 first = CIL_TRUE; in cil_typeattributes_to_policy() 1109 int need_first = CIL_TRUE, need_last = CIL_TRUE; in cil_xperms_to_policy() 1121 if (need_first == CIL_TRUE) { in cil_xperms_to_policy() 1124 } else if (need_last == CIL_TRUE) { in cil_xperms_to_policy() [all …]
|
D | cil_verify.c | 456 return CIL_TRUE; in __cil_is_cat_in_cats() 466 if (__cil_is_cat_in_cats(cat, cats) != CIL_TRUE) { in __cil_verify_cat_in_cats() 492 if (__cil_is_cat_in_cats(cat, j->data) == CIL_TRUE) { in __cil_verify_cats_associated_with_sens() 493 ok = CIL_TRUE; in __cil_verify_cats_associated_with_sens() 498 if (ok != CIL_TRUE) { in __cil_verify_cats_associated_with_sens() 516 found = CIL_TRUE; in __cil_verify_levelrange_sensitivity() 519 if ((found == CIL_TRUE) && (curr->data == high)) { in __cil_verify_levelrange_sensitivity() 524 if (found != CIL_TRUE || curr == NULL) { in __cil_verify_levelrange_sensitivity() 785 found = CIL_TRUE; in __cil_verify_context() 794 if (found == CIL_TRUE) { in __cil_verify_context() [all …]
|
D | cil_post.c | 156 return CIL_TRUE; in cil_verify_is_list() 558 if (blk->is_abstract == CIL_TRUE) { in __cil_post_db_count_helper() 666 if (blk->is_abstract == CIL_TRUE) { in __cil_post_db_array_helper() 1089 if (cats->evaluated == CIL_TRUE) { in __evaluate_cat_expression() 1118 cats->evaluated = CIL_TRUE; in __evaluate_cat_expression() 1447 return CIL_TRUE; in cil_typeattribute_used() 1455 return CIL_TRUE; in cil_typeattribute_used() 1466 return CIL_TRUE; in cil_typeattribute_used() 1476 return CIL_TRUE; in cil_typeattribute_used() 1504 if (blk->is_abstract == CIL_TRUE) { in __cil_post_db_neverallow_attr_helper() [all …]
|
D | cil_binary.c | 1432 if (cil_avrule->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in __cil_avrule_to_avtab() 1802 if (cil_avrulex->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in cil_avrulex_to_hashtable() 2229 swapped = CIL_TRUE; in cil_booleanif_to_policydb() 2332 int add = CIL_TRUE; in cil_roletrans_to_policydb() 2358 if (add == CIL_TRUE) { in cil_roletrans_to_policydb() 2651 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper() 2655 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper() 2659 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper() 2663 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper() 2667 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper() [all …]
|
D | cil_list.c | 256 return CIL_TRUE; in cil_list_contains() 271 return CIL_TRUE; in cil_list_match_any()
|
D | cil_resolve_ast.c | 1219 if (sid->ordered == CIL_TRUE) { in __cil_ordered_item_insert() 1223 sid->ordered = CIL_TRUE; in __cil_ordered_item_insert() 1226 if (class->ordered == CIL_TRUE) { in __cil_ordered_item_insert() 1230 class->ordered = CIL_TRUE; in __cil_ordered_item_insert() 1233 if (cat->ordered == CIL_TRUE) { in __cil_ordered_item_insert() 1237 cat->ordered = CIL_TRUE; in __cil_ordered_item_insert() 1240 if (sens->ordered == CIL_TRUE) { in __cil_ordered_item_insert() 1244 sens->ordered = CIL_TRUE; in __cil_ordered_item_insert() 1407 int changed = CIL_TRUE; in __cil_ordered_lists_merge_all() 1413 while (waiting && changed == CIL_TRUE) { in __cil_ordered_lists_merge_all() [all …]
|
D | cil_build_ast.c | 99 rc = CIL_TRUE; in cil_is_datum_multiple_decl() 658 cil_list_destroy(&cp->perm_strs, CIL_TRUE); in cil_destroy_classperms() 724 cil_list_destroy(cp_list, CIL_TRUE); in cil_fill_classperms_list() 1383 cil_list_destroy(&attrset->str_expr, CIL_TRUE); in cil_destroy_userattributeset() 2017 cil_list_destroy(&attrset->str_expr, CIL_TRUE); in cil_destroy_roleattributeset() 2177 cil_list_destroy(&permx->expr_str, CIL_TRUE); in cil_destroy_permissionx() 2436 boolean->value = CIL_TRUE; in cil_gen_bool() 2500 tunable->value = CIL_TRUE; in cil_gen_tunable() 2606 cil_list_destroy(&sub_expr, CIL_TRUE); in __cil_fill_expr() 2633 cil_list_destroy(expr, CIL_TRUE); in cil_gen_expr() [all …]
|
D | cil.c | 490 cil_list_destroy(&(*db)->names, CIL_TRUE); in cil_db_destroy() 1636 if (db->mls == CIL_TRUE) { in cil_selinuxusers_to_string() 1655 if (db->mls == CIL_TRUE) { in cil_selinuxusers_to_string() 1712 if (db->mls == CIL_TRUE) { in cil_filecons_to_string() 1777 if (db->mls == CIL_TRUE) { in cil_filecons_to_string() 2743 (*optional)->enabled = CIL_TRUE; in cil_optional_init()
|
D | cil_internal.h | 895 #define CIL_TRUE 1 macro
|
D | android.c | 818 expandattr->expand = CIL_TRUE; in cil_build_mappings_tree()
|
D | cil_write_ast.c | 1117 case CIL_TRUE: in cil_write_mls()
|