/third_party/selinux/libsepol/cil/src/ |
D | cil_verify.c | 97 int rc = SEPOL_ERR; in cil_verify_name() 110 rc = SEPOL_ERR; in cil_verify_name() 185 return SEPOL_ERR; in __cil_verify_syntax() 249 return SEPOL_ERR; in cil_verify_expr_syntax() 313 return SEPOL_ERR; in cil_verify_constraint_leaf_expr_syntax() 362 return SEPOL_ERR; in cil_verify_constraint_expr_syntax() 376 return SEPOL_ERR; in cil_verify_conditional_blocks() 384 return SEPOL_ERR; in cil_verify_conditional_blocks() 389 return SEPOL_ERR; in cil_verify_conditional_blocks() 393 return SEPOL_ERR; in cil_verify_conditional_blocks() [all …]
|
D | cil_resolve_ast.c | 116 int rc = SEPOL_ERR; in __cil_resolve_perms() 161 int rc = SEPOL_ERR; in cil_resolve_classperms() 196 int rc = SEPOL_ERR; in cil_resolve_classperms_set() 221 int rc = SEPOL_ERR; in cil_resolve_classperms_list() 246 int rc = SEPOL_ERR; in cil_resolve_classpermissionset() 298 int rc = SEPOL_ERR; in cil_resolve_permissionx() 322 int rc = SEPOL_ERR; in cil_resolve_avrule() 383 int rc = SEPOL_ERR; in cil_resolve_type_rule() 416 rc = SEPOL_ERR; in cil_resolve_type_rule() 433 int rc = SEPOL_ERR; in cil_resolve_typeattributeset() [all …]
|
D | cil_build_ast.c | 61 int rc = SEPOL_ERR; in cil_fill_list() 114 return SEPOL_ERR; in cil_add_decl_to_symtab() 123 return SEPOL_ERR; in cil_add_decl_to_symtab() 132 return SEPOL_ERR; in cil_add_decl_to_symtab() 145 int rc = SEPOL_ERR; in cil_gen_node() 200 int rc = SEPOL_ERR; in cil_gen_block() 275 int rc = SEPOL_ERR; in cil_gen_blockinherit() 337 int rc = SEPOL_ERR; in cil_gen_blockabstract() 387 int rc = SEPOL_ERR; in cil_gen_in() 414 rc = SEPOL_ERR; in cil_gen_in() [all …]
|
D | cil_binary.c | 84 return SEPOL_ERR; in __cil_get_sepol_user_datum() 95 return SEPOL_ERR; in __cil_get_sepol_role_datum() 106 return SEPOL_ERR; in __cil_get_sepol_type_datum() 117 return SEPOL_ERR; in __cil_get_sepol_class_datum() 128 return SEPOL_ERR; in __cil_get_sepol_cat_datum() 139 return SEPOL_ERR; in __cil_get_sepol_level_datum() 170 return SEPOL_ERR; in __cil_expand_user() 196 return SEPOL_ERR; in __cil_expand_role() 222 return SEPOL_ERR; in __cil_expand_type() 241 int rc = SEPOL_ERR; in cil_common_to_policydb() [all …]
|
D | cil_post.c | 253 int rc = SEPOL_ERR; in cil_post_ibpkeycon_compare() 275 int rc = SEPOL_ERR; in cil_post_portcon_compare() 298 int rc = SEPOL_ERR; in cil_post_genfscon_compare() 320 int rc = SEPOL_ERR; in cil_post_ibendportcon_compare() 371 int rc = SEPOL_ERR; in cil_post_pirqcon_compare() 388 int rc = SEPOL_ERR; in cil_post_iomemcon_compare() 407 int rc = SEPOL_ERR; in cil_post_ioportcon_compare() 426 int rc = SEPOL_ERR; in cil_post_pcidevicecon_compare() 443 int rc = SEPOL_ERR; in cil_post_devicetreecon_compare() 891 int rc = SEPOL_ERR; in __cil_type_to_bitmap() [all …]
|
D | cil_copy_ast.c | 111 return SEPOL_ERR; in cil_copy_block() 252 return SEPOL_ERR; in cil_copy_class() 290 return SEPOL_ERR; in cil_copy_classpermission() 676 return SEPOL_ERR; in cil_copy_alias() 770 return SEPOL_ERR; in cil_copy_bool() 790 return SEPOL_ERR; in cil_copy_tunable() 846 return SEPOL_ERR; in cil_copy_permissionx() 928 return SEPOL_ERR; in cil_copy_catset() 1008 return SEPOL_ERR; in cil_copy_level() 1045 return SEPOL_ERR; in cil_copy_levelrange() [all …]
|
D | cil_fqn.c | 61 rc = SEPOL_ERR; in __cil_fqn_qualify_decls() 90 rc = SEPOL_ERR; in __cil_fqn_qualify_blocks()
|
D | cil.c | 543 int rc = SEPOL_ERR; in cil_compile() 587 int rc = SEPOL_ERR; in cil_write_parse_ast() 606 int rc = SEPOL_ERR; in cil_write_build_ast() 635 int rc = SEPOL_ERR; in cil_write_resolve_ast() 1022 return SEPOL_ERR; in cil_flavor_to_symtab_index() 1105 return SEPOL_ERR; in cil_flavor_to_symtab_index() 1426 int rc = SEPOL_ERR; in cil_userprefixes_to_string() 1477 int rc = SEPOL_ERR; in cil_cats_to_ebitmap() 2014 return SEPOL_ERR; in cil_get_symtab() 2021 int rc = SEPOL_ERR; in cil_string_to_uint32() [all …]
|
D | cil_tree.c | 273 int rc = SEPOL_ERR; in cil_tree_walk_core() 309 int rc = SEPOL_ERR; in cil_tree_walk()
|
D | cil_parser.c | 190 return SEPOL_ERR; in add_hll_linemark() 330 return SEPOL_ERR; in cil_parser()
|
D | cil_reset_ast.c | 651 int rc = SEPOL_ERR; in cil_reset_ast() 656 return SEPOL_ERR; in cil_reset_ast()
|
D | cil_write_ast.c | 1623 return SEPOL_ERR; in cil_write_ast()
|
/third_party/selinux/libsepol/cil/test/unit/ |
D | test_cil_build_ast.c | 120 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_parse_to_list_currnull_neg() 149 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_parse_to_list_listnull_neg() 177 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_set_to_list_tree_node_null_neg() 192 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_set_to_list_cl_head_null_neg() 203 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_set_to_list_listnull_neg() 244 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_gen_block_justblock_neg() 263 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_gen_block_noname_neg() 278 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_gen_block_dbnull_neg() 299 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_gen_block_treenull_neg() 314 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_gen_block_nodenull_neg() [all …]
|
D | test_cil.c | 128 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_get_symtab_flavor_neg() 145 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_get_symtab_null_neg() 158 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_get_symtab_node_null_neg() 176 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_get_symtab_parent_null_neg()
|
D | test_cil_list.c | 178 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_list_append_item_listnull_neg() 202 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_list_append_item_itemnull_neg() 293 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_list_prepend_item_prepend_neg() 320 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_list_prepend_item_listnull_neg() 344 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_list_prepend_item_itemnull_neg()
|
D | test_cil_copy_ast.c | 140 CuAssertIntEquals(tc, rc, SEPOL_ERR); in test_cil_copy_list_orignull_neg() 1484 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_copy_node_helper_perm_neg() 1527 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_copy_node_helper_class_dup_neg() 1570 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_copy_node_helper_common_dup_neg() 1897 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_copy_node_helper_typealias_dup_neg() 1940 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_copy_node_helper_bool_dup_neg() 2072 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_copy_node_helper_sensalias_dup_neg() 2158 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_copy_node_helper_catalias_dup_neg() 2305 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_copy_node_helper_level_dup_neg() 2348 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_copy_node_helper_context_dup_neg() [all …]
|
D | test_cil_resolve_ast.c | 121 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_resolve_ast_curr_null_neg() 396 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_resolve_rolebounds_exists_neg() 649 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_resolve_cat_list_catlistnull_neg() 674 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_resolve_cat_list_rescatlistnull_neg() 735 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_resolve_cat_list_catrange_neg() 864 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_resolve_catrange_catloworder_neg() 889 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_resolve_catrange_cathighorder_neg() 992 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_resolve_senscat_catrange_neg() 1399 CuAssertIntEquals(tc, SEPOL_ERR, rc); in test_cil_resolve_level_senscat_neg() 1400 CuAssertIntEquals(tc, SEPOL_ERR, rc2); in test_cil_resolve_level_senscat_neg() [all …]
|
/third_party/selinux/secilc/ |
D | secilc.c | 82 int rc = SEPOL_ERR; in main() 271 rc = SEPOL_ERR; in main() 277 rc = SEPOL_ERR; in main() 292 rc = SEPOL_ERR; in main() 333 rc = SEPOL_ERR; in main() 338 rc = SEPOL_ERR; in main() 346 rc = SEPOL_ERR; in main() 381 rc = SEPOL_ERR; in main() 387 rc = SEPOL_ERR; in main()
|
D | secil2conf.c | 65 int rc = SEPOL_ERR; in main() 144 rc = SEPOL_ERR; in main() 186 rc = SEPOL_ERR; in main()
|
D | secil2tree.c | 69 int rc = SEPOL_ERR; in main() 150 rc = SEPOL_ERR; in main() 185 rc = SEPOL_ERR; in main()
|
/third_party/selinux/libsepol/src/ |
D | hierarchy.c | 502 rc = SEPOL_ERR; in bounds_check_types() 546 return SEPOL_ERR; in bounds_check_roles() 589 return SEPOL_ERR; in bounds_check_users() 662 rc = SEPOL_ERR; in add_hierarchy_callback_template() 687 if (rc == SEPOL_ERR) in hierarchy_check_constraints() 694 rc = SEPOL_ERR; in hierarchy_check_constraints()
|
D | link.c | 153 ret = SEPOL_ERR; in permission_copy_callback() 160 ret = SEPOL_ERR; in permission_copy_callback() 268 ret = SEPOL_ERR; in class_copy_callback() 293 ret = SEPOL_ERR; in class_copy_callback() 298 ret = SEPOL_ERR; in class_copy_callback() 305 ret = SEPOL_ERR; in class_copy_callback() 653 return SEPOL_ERR; in bool_copy_callback() 684 return SEPOL_ERR; in sens_copy_callback() 725 return SEPOL_ERR; in cat_copy_callback() 2167 ret = SEPOL_ERR; in enable_avrules()
|
/third_party/selinux/libsepol/include/sepol/ |
D | errcodes.h | 19 #define SEPOL_ERR (-1) macro
|