Searched refs:CIL_TRUE (Results 1 – 12 of 12) sorted by relevance
/third_party/selinux/libsepol/cil/src/ |
D | cil_find.c | 55 return CIL_TRUE; in cil_type_match_any() 61 return CIL_TRUE; in cil_type_match_any() 67 return CIL_TRUE; in cil_type_match_any() 74 return CIL_TRUE; in cil_type_match_any() 76 return CIL_TRUE; in cil_type_match_any() 158 if (&p1->datum == &p2->datum) return CIL_TRUE; in cil_classperms_match_any() 174 if (rc == CIL_TRUE) return CIL_TRUE; in __cil_classperms_list_match_any() 180 if (rc == CIL_TRUE) return CIL_TRUE; in __cil_classperms_list_match_any() 187 if (rc == CIL_TRUE) return CIL_TRUE; in __cil_classperms_list_match_any() 203 if (rc == CIL_TRUE) return CIL_TRUE; in cil_classperms_list_match_any() [all …]
|
D | cil_write_ast.c | 344 write_level(out, range->low, CIL_TRUE); in write_range() 349 write_level(out, range->high, CIL_TRUE); in write_range() 366 write_range(out, context->range, CIL_TRUE); in write_context() 433 write_level(out, level, CIL_TRUE); in write_call_args() 442 write_range(out, range, CIL_TRUE); in write_call_args() 830 write_context(out, sidcon->context, CIL_TRUE); in cil_write_ast_node() 958 write_level(out, userlevel->level, CIL_TRUE); in cil_write_ast_node() 968 write_range(out, userrange->range, CIL_TRUE); in cil_write_ast_node() 991 write_range(out, selinuxuser->range, CIL_TRUE); in cil_write_ast_node() 1002 write_range(out, selinuxuser->range, CIL_TRUE); in cil_write_ast_node() [all …]
|
D | cil_verify.c | 57 return CIL_TRUE; in __cil_is_reserved_name() 66 return CIL_TRUE; in __cil_is_reserved_name() 72 return CIL_TRUE; in __cil_is_reserved_name() 79 return CIL_TRUE; in __cil_is_reserved_name() 89 return CIL_TRUE; in __cil_is_reserved_name() 371 found_true = CIL_TRUE; in cil_verify_conditional_blocks() 373 found_false = CIL_TRUE; in cil_verify_conditional_blocks() 601 return CIL_TRUE; in __cil_is_cat_in_cats() 611 if (__cil_is_cat_in_cats(cat, cats) != CIL_TRUE) { in __cil_verify_cat_in_cats() 637 if (__cil_is_cat_in_cats(cat, j->data) == CIL_TRUE) { in __cil_verify_cats_associated_with_sens() [all …]
|
D | cil_policy.c | 85 if (blk->is_abstract == CIL_TRUE) { in __cil_gather_statements_helper() 255 return CIL_TRUE; in cil_levels_simple_and_equal() 258 return CIL_TRUE; in cil_levels_simple_and_equal() 326 if (first == CIL_TRUE) { in cil_cond_expr_to_policy() 330 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() 1122 if (need_first == CIL_TRUE) { in cil_xperms_to_policy() 1125 } else if (need_last == CIL_TRUE) { in cil_xperms_to_policy() [all …]
|
D | cil_post.c | 163 return CIL_TRUE; in cil_verify_is_list() 572 if (blk->is_abstract == CIL_TRUE) { in __cil_post_db_count_helper() 680 if (blk->is_abstract == CIL_TRUE) { in __cil_post_db_array_helper() 1103 if (cats->evaluated == CIL_TRUE) { in __evaluate_cat_expression() 1132 cats->evaluated = CIL_TRUE; in __evaluate_cat_expression() 1461 return CIL_TRUE; in cil_typeattribute_used() 1469 return CIL_TRUE; in cil_typeattribute_used() 1480 return CIL_TRUE; in cil_typeattribute_used() 1490 return CIL_TRUE; in cil_typeattribute_used() 1522 if (blk->is_abstract == CIL_TRUE) { in __cil_post_db_neverallow_attr_helper() [all …]
|
D | cil_binary.c | 1416 if (cil_avrule->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in __cil_avrule_to_avtab() 1778 if (cil_avrulex->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in cil_avrulex_to_hashtable() 2264 swapped = CIL_TRUE; in cil_booleanif_to_policydb() 2367 int add = CIL_TRUE; in cil_roletrans_to_policydb() 2393 if (add == CIL_TRUE) { in cil_roletrans_to_policydb() 2687 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper() 2691 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper() 2695 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper() 2699 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper() 2703 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper() [all …]
|
D | cil_list.c | 257 return CIL_TRUE; in cil_list_contains() 272 return CIL_TRUE; in cil_list_match_any()
|
D | cil_tree.c | 165 return CIL_TRUE; in cil_tree_subtree_has_decl() 169 return CIL_TRUE; in cil_tree_subtree_has_decl()
|
D | cil_resolve_ast.c | 1222 if (sid->ordered == CIL_TRUE) { in __cil_ordered_item_insert() 1226 sid->ordered = CIL_TRUE; in __cil_ordered_item_insert() 1229 if (class->ordered == CIL_TRUE) { in __cil_ordered_item_insert() 1233 class->ordered = CIL_TRUE; in __cil_ordered_item_insert() 1236 if (cat->ordered == CIL_TRUE) { in __cil_ordered_item_insert() 1240 cat->ordered = CIL_TRUE; in __cil_ordered_item_insert() 1243 if (sens->ordered == CIL_TRUE) { in __cil_ordered_item_insert() 1247 sens->ordered = CIL_TRUE; in __cil_ordered_item_insert() 1410 int changed = CIL_TRUE; in __cil_ordered_lists_merge_all() 1416 while (waiting && changed == CIL_TRUE) { in __cil_ordered_lists_merge_all() [all …]
|
D | cil_build_ast.c | 96 return CIL_TRUE; in cil_allow_multiple_decls() 100 return CIL_TRUE; in cil_allow_multiple_decls() 411 in->is_after = CIL_TRUE; in cil_gen_in() 729 cil_list_destroy(&cp->perm_strs, CIL_TRUE); in cil_destroy_classperms() 786 cil_list_destroy(cp_list, CIL_TRUE); in cil_fill_classperms_list() 1447 cil_list_destroy(&attrset->str_expr, CIL_TRUE); in cil_destroy_userattributeset() 2075 cil_list_destroy(&attrset->str_expr, CIL_TRUE); in cil_destroy_roleattributeset() 2235 cil_list_destroy(&permx->expr_str, CIL_TRUE); in cil_destroy_permissionx() 2492 boolean->value = CIL_TRUE; in cil_gen_bool() 2556 tunable->value = CIL_TRUE; in cil_gen_tunable() [all …]
|
D | cil.c | 483 cil_list_destroy(&(*db)->names, CIL_TRUE); in cil_db_destroy() 1675 if (db->mls == CIL_TRUE) { in cil_selinuxusers_to_string() 1694 if (db->mls == CIL_TRUE) { in cil_selinuxusers_to_string() 1740 if (db->mls == CIL_TRUE) { in cil_filecons_to_string() 1805 if (db->mls == CIL_TRUE) { in cil_filecons_to_string()
|
D | cil_internal.h | 903 #define CIL_TRUE 1 macro
|