Home
last modified time | relevance | path

Searched refs:CIL_TRUE (Results 1 – 10 of 10) 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()
153 if (&p1->datum == &p2->datum) return CIL_TRUE; in cil_classperms_match_any()
169 if (rc == CIL_TRUE) return CIL_TRUE; in __cil_classperms_list_match_any()
175 if (rc == CIL_TRUE) return CIL_TRUE; in __cil_classperms_list_match_any()
182 if (rc == CIL_TRUE) return CIL_TRUE; in __cil_classperms_list_match_any()
198 if (rc == CIL_TRUE) return CIL_TRUE; in cil_classperms_list_match_any()
204 if (rc == CIL_TRUE) return CIL_TRUE; in cil_classperms_list_match_any()
211 if (rc == CIL_TRUE) return CIL_TRUE; in cil_classperms_list_match_any()
[all …]
Dcil_verify.c448 return CIL_TRUE; in __cil_is_cat_in_cats()
458 if (__cil_is_cat_in_cats(cat, cats) != CIL_TRUE) { in __cil_verify_cat_in_cats()
484 if (__cil_is_cat_in_cats(cat, j->data) == CIL_TRUE) { in __cil_verify_cats_associated_with_sens()
485 ok = CIL_TRUE; in __cil_verify_cats_associated_with_sens()
490 if (ok != CIL_TRUE) { in __cil_verify_cats_associated_with_sens()
508 found = CIL_TRUE; in __cil_verify_levelrange_sensitivity()
511 if ((found == CIL_TRUE) && (curr->data == high)) { in __cil_verify_levelrange_sensitivity()
516 if (found != CIL_TRUE || curr == NULL) { in __cil_verify_levelrange_sensitivity()
777 found = CIL_TRUE; in __cil_verify_context()
786 if (found == CIL_TRUE) { in __cil_verify_context()
[all …]
Dcil_binary.c1166 int add = CIL_TRUE; in __cil_typetransition_to_avtab()
1193 if (add == CIL_TRUE) { in __cil_typetransition_to_avtab()
1406 if (cil_avrule->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in __cil_avrule_to_avtab()
1717 if (cil_avrulex->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in cil_avrulex_to_hashtable()
2083 swapped = CIL_TRUE; in cil_booleanif_to_policydb()
2185 int add = CIL_TRUE; in cil_roletrans_to_policydb()
2212 if (add == CIL_TRUE) { in cil_roletrans_to_policydb()
2510 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper()
2514 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper()
2518 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper()
[all …]
Dcil_list.c256 return CIL_TRUE; in cil_list_contains()
271 return CIL_TRUE; in cil_list_match_any()
Dcil_post.c76 return CIL_TRUE; in cil_verify_is_list()
334 if (blk->is_abstract == CIL_TRUE) { in __cil_post_db_count_helper()
436 if (blk->is_abstract == CIL_TRUE) { in __cil_post_db_array_helper()
838 if (cats->evaluated == CIL_TRUE) { in __evaluate_cat_expression()
873 cats->evaluated = CIL_TRUE; in __evaluate_cat_expression()
1197 if (blk->is_abstract == CIL_TRUE) { in __cil_post_db_attr_helper()
1297 if (blk->is_abstract == CIL_TRUE) { in __cil_post_db_roletype_helper()
1396 if (blk->is_abstract == CIL_TRUE) { in __cil_post_db_userrole_helper()
1485 if (blk->is_abstract == CIL_TRUE) { in __cil_post_db_cat_helper()
1840 if (blk->is_abstract == CIL_TRUE) { in __cil_post_db_classperms_helper()
Dcil_resolve_ast.c270 attr->used = CIL_TRUE; in cil_type_used()
1169 if (sid->ordered == CIL_TRUE) { in __cil_ordered_item_insert()
1173 sid->ordered = CIL_TRUE; in __cil_ordered_item_insert()
1176 if (class->ordered == CIL_TRUE) { in __cil_ordered_item_insert()
1180 class->ordered = CIL_TRUE; in __cil_ordered_item_insert()
1183 if (cat->ordered == CIL_TRUE) { in __cil_ordered_item_insert()
1187 cat->ordered = CIL_TRUE; in __cil_ordered_item_insert()
1190 if (sens->ordered == CIL_TRUE) { in __cil_ordered_item_insert()
1194 sens->ordered = CIL_TRUE; in __cil_ordered_item_insert()
1357 int changed = CIL_TRUE; in __cil_ordered_lists_merge_all()
[all …]
Dcil_build_ast.c619 cil_list_destroy(&cp->perm_strs, CIL_TRUE); in cil_destroy_classperms()
685 cil_list_destroy(cp_list, CIL_TRUE); in cil_fill_classperms_list()
1352 cil_list_destroy(&attrset->str_expr, CIL_TRUE); in cil_destroy_userattributeset()
1998 cil_list_destroy(&attrset->str_expr, CIL_TRUE); in cil_destroy_roleattributeset()
2161 cil_list_destroy(&permx->expr_str, CIL_TRUE); in cil_destroy_permissionx()
2424 boolean->value = CIL_TRUE; in cil_gen_bool()
2490 tunable->value = CIL_TRUE; in cil_gen_tunable()
2623 cil_list_destroy(expr, CIL_TRUE); in cil_gen_expr()
2899 cil_list_destroy(&bif->str_expr, CIL_TRUE); in cil_destroy_boolif()
2979 cil_list_destroy(&tif->str_expr, CIL_TRUE); in cil_destroy_tunif()
[all …]
Dcil.c313 cil_list_destroy(&(*db)->names, CIL_TRUE); in cil_db_destroy()
1431 if (db->mls == CIL_TRUE) { in cil_selinuxusers_to_string()
1450 if (db->mls == CIL_TRUE) { in cil_selinuxusers_to_string()
1507 if (db->mls == CIL_TRUE) { in cil_filecons_to_string()
1572 if (db->mls == CIL_TRUE) { in cil_filecons_to_string()
2493 (*optional)->enabled = CIL_TRUE; in cil_optional_init()
Dcil_internal.h851 #define CIL_TRUE 1 macro
Dcil_policy.c859 case CIL_TRUE: in __cil_booleanif_node_helper()
1141 if (node->flavor == CIL_BLOCK && ((struct cil_block*)node->data)->is_abstract == CIL_TRUE) { in __cil_gen_policy_node_helper()