Home
last modified time | relevance | path

Searched refs:CIL_TRUE (Results 1 – 12 of 12) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_find.c54 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 …]
Dcil_policy.c84 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()
1082 int first = CIL_TRUE; in cil_typeattributes_to_policy()
1101 first = CIL_TRUE; in cil_typeattributes_to_policy()
1110 int need_first = CIL_TRUE, need_last = CIL_TRUE; in cil_xperms_to_policy()
1124 if (need_first == CIL_TRUE) { in cil_xperms_to_policy()
1127 } else if (need_last == CIL_TRUE) { in cil_xperms_to_policy()
[all …]
Dcil_verify.c454 return CIL_TRUE; in __cil_is_cat_in_cats()
464 if (__cil_is_cat_in_cats(cat, cats) != CIL_TRUE) { in __cil_verify_cat_in_cats()
490 if (__cil_is_cat_in_cats(cat, j->data) == CIL_TRUE) { in __cil_verify_cats_associated_with_sens()
491 ok = CIL_TRUE; in __cil_verify_cats_associated_with_sens()
496 if (ok != CIL_TRUE) { in __cil_verify_cats_associated_with_sens()
514 found = CIL_TRUE; in __cil_verify_levelrange_sensitivity()
517 if ((found == CIL_TRUE) && (curr->data == high)) { in __cil_verify_levelrange_sensitivity()
522 if (found != CIL_TRUE || curr == NULL) { in __cil_verify_levelrange_sensitivity()
783 found = CIL_TRUE; in __cil_verify_context()
792 if (found == CIL_TRUE) { in __cil_verify_context()
[all …]
Dcil_binary.c1194 int add = CIL_TRUE; in __cil_typetransition_to_avtab()
1221 if (add == CIL_TRUE) { in __cil_typetransition_to_avtab()
1459 if (cil_avrule->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in __cil_avrule_to_avtab()
1835 if (cil_avrulex->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in cil_avrulex_to_hashtable()
2267 swapped = CIL_TRUE; in cil_booleanif_to_policydb()
2369 int add = CIL_TRUE; in cil_roletrans_to_policydb()
2395 if (add == CIL_TRUE) { in cil_roletrans_to_policydb()
2700 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper()
2704 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper()
2708 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper()
[all …]
Dcil_post.c156 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 …]
Dcil_list.c256 return CIL_TRUE; in cil_list_contains()
271 return CIL_TRUE; in cil_list_match_any()
Dcil_resolve_ast.c1223 if (sid->ordered == CIL_TRUE) { in __cil_ordered_item_insert()
1227 sid->ordered = CIL_TRUE; in __cil_ordered_item_insert()
1230 if (class->ordered == CIL_TRUE) { in __cil_ordered_item_insert()
1234 class->ordered = CIL_TRUE; in __cil_ordered_item_insert()
1237 if (cat->ordered == CIL_TRUE) { in __cil_ordered_item_insert()
1241 cat->ordered = CIL_TRUE; in __cil_ordered_item_insert()
1244 if (sens->ordered == CIL_TRUE) { in __cil_ordered_item_insert()
1248 sens->ordered = CIL_TRUE; in __cil_ordered_item_insert()
1411 int changed = CIL_TRUE; in __cil_ordered_lists_merge_all()
1417 while (waiting && changed == CIL_TRUE) { in __cil_ordered_lists_merge_all()
[all …]
Dcil_build_ast.c99 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 …]
Dcil.c326 cil_list_destroy(&(*db)->names, CIL_TRUE); in cil_db_destroy()
1472 if (db->mls == CIL_TRUE) { in cil_selinuxusers_to_string()
1491 if (db->mls == CIL_TRUE) { in cil_selinuxusers_to_string()
1548 if (db->mls == CIL_TRUE) { in cil_filecons_to_string()
1613 if (db->mls == CIL_TRUE) { in cil_filecons_to_string()
2579 (*optional)->enabled = CIL_TRUE; in cil_optional_init()
Dcil_internal.h892 #define CIL_TRUE 1 macro
Dandroid.c818 expandattr->expand = CIL_TRUE; in cil_build_mappings_tree()
Dcil_write_ast.c1117 case CIL_TRUE: in cil_write_mls()