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() 1449 return CIL_TRUE; in cil_typeattribute_used() 1457 return CIL_TRUE; in cil_typeattribute_used() 1468 return CIL_TRUE; in cil_typeattribute_used() 1478 return CIL_TRUE; in cil_typeattribute_used() 1510 if (blk->is_abstract == CIL_TRUE) { in __cil_post_db_neverallow_attr_helper() [all …]
|
D | cil_binary.c | 1498 if (cil_avrule->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in __cil_avrule_to_avtab() 1860 if (cil_avrulex->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in cil_avrulex_to_hashtable() 2346 swapped = CIL_TRUE; in cil_booleanif_to_policydb() 2449 int add = CIL_TRUE; in cil_roletrans_to_policydb() 2475 if (add == CIL_TRUE) { in cil_roletrans_to_policydb() 2769 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper() 2773 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper() 2777 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper() 2781 is_leaf = CIL_TRUE; in __cil_constrain_expr_to_sepol_expr_helper() 2785 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 | 156 return CIL_TRUE; in cil_tree_subtree_has_decl() 160 return CIL_TRUE; in cil_tree_subtree_has_decl()
|
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_resolve_ast.c | 1237 if (sid->ordered == CIL_TRUE) { in __cil_ordered_item_insert() 1241 sid->ordered = CIL_TRUE; in __cil_ordered_item_insert() 1244 if (class->ordered == CIL_TRUE) { in __cil_ordered_item_insert() 1248 class->ordered = CIL_TRUE; in __cil_ordered_item_insert() 1251 if (cat->ordered == CIL_TRUE) { in __cil_ordered_item_insert() 1255 cat->ordered = CIL_TRUE; in __cil_ordered_item_insert() 1258 if (sens->ordered == CIL_TRUE) { in __cil_ordered_item_insert() 1262 sens->ordered = CIL_TRUE; in __cil_ordered_item_insert() 1425 int changed = CIL_TRUE; in __cil_ordered_lists_merge_all() 1431 while (waiting && changed == CIL_TRUE) { in __cil_ordered_lists_merge_all() [all …]
|
D | cil.c | 483 cil_list_destroy(&(*db)->names, CIL_TRUE); in cil_db_destroy() 1681 if (db->mls == CIL_TRUE) { in cil_selinuxusers_to_string() 1700 if (db->mls == CIL_TRUE) { in cil_selinuxusers_to_string() 1746 if (db->mls == CIL_TRUE) { in cil_filecons_to_string() 1814 if (db->mls == CIL_TRUE) { in cil_filecons_to_string()
|
D | cil_internal.h | 904 #define CIL_TRUE 1 macro
|