/external/selinux/libsepol/cil/src/ |
D | cil_verify.c | 51 int rc = SEPOL_ERR; in __cil_verify_name() 58 rc = SEPOL_ERR; in __cil_verify_name() 82 int rc = SEPOL_ERR; in __cil_verify_syntax() 207 return SEPOL_ERR; in cil_verify_expr_syntax() 265 return SEPOL_ERR; in cil_verify_constraint_leaf_expr_syntax() 314 return SEPOL_ERR; in cil_verify_constraint_expr_syntax() 326 return SEPOL_ERR; in cil_verify_no_self_reference() 331 return SEPOL_ERR; in cil_verify_no_self_reference() 341 int rc = SEPOL_ERR; in __cil_verify_ranges() 380 return SEPOL_ERR; in __cil_verify_ordered_node_helper() [all …]
|
D | cil_resolve_ast.c | 109 int rc = SEPOL_ERR; in __cil_resolve_perms() 149 int rc = SEPOL_ERR; in cil_resolve_classperms() 180 int rc = SEPOL_ERR; in cil_resolve_classperms_set() 205 int rc = SEPOL_ERR; in cil_resolve_classperms_list() 230 int rc = SEPOL_ERR; in cil_resolve_classpermissionset() 282 int rc = SEPOL_ERR; in cil_resolve_avrule() 329 int rc = SEPOL_ERR; in cil_resolve_type_rule() 360 rc = SEPOL_ERR; in cil_resolve_type_rule() 377 int rc = SEPOL_ERR; in cil_resolve_typeattributeset() 387 rc = SEPOL_ERR; in cil_resolve_typeattributeset() [all …]
|
D | cil_binary.c | 109 return SEPOL_ERR; in __cil_get_sepol_user_datum() 120 return SEPOL_ERR; in __cil_get_sepol_role_datum() 131 return SEPOL_ERR; in __cil_get_sepol_type_datum() 142 return SEPOL_ERR; in __cil_get_sepol_class_datum() 153 return SEPOL_ERR; in __cil_get_sepol_cat_datum() 164 return SEPOL_ERR; in __cil_get_sepol_level_datum() 193 return SEPOL_ERR; in __cil_expand_role() 219 return SEPOL_ERR; in __cil_expand_type() 287 int rc = SEPOL_ERR; in cil_common_to_policydb() 335 int rc = SEPOL_ERR; in cil_classorder_to_policydb() [all …]
|
D | cil_build_ast.c | 60 int rc = SEPOL_ERR; in cil_fill_list() 87 int rc = SEPOL_ERR; in cil_gen_node() 128 rc = SEPOL_ERR; in cil_gen_node() 164 int rc = SEPOL_ERR; in cil_gen_block() 218 int rc = SEPOL_ERR; in cil_gen_blockinherit() 263 int rc = SEPOL_ERR; in cil_gen_blockabstract() 308 int rc = SEPOL_ERR; in cil_gen_in() 358 int rc = SEPOL_ERR; in cil_gen_class() 413 int rc = SEPOL_ERR; in cil_gen_classorder() 459 int rc = SEPOL_ERR; in cil_gen_perm() [all …]
|
D | cil_parser.c | 83 return SEPOL_ERR; in cil_parser() 91 return SEPOL_ERR; in cil_parser() 114 return SEPOL_ERR; in cil_parser() 122 return SEPOL_ERR; in cil_parser() 125 return SEPOL_ERR; in cil_parser()
|
D | cil_policy.c | 98 return SEPOL_ERR; in cil_combine_policy() 106 return SEPOL_ERR; in cil_combine_policy() 170 int rc = SEPOL_ERR; in cil_nodecon_to_policy() 186 rc = SEPOL_ERR; in cil_nodecon_to_policy() 203 rc = SEPOL_ERR; in cil_nodecon_to_policy() 289 return SEPOL_ERR; in cil_fsuse_to_policy() 305 return SEPOL_ERR; in cil_multimap_insert() 322 return SEPOL_ERR; in cil_multimap_insert() 351 return SEPOL_ERR; in cil_userrole_to_policy() 598 return SEPOL_ERR; in cil_avrule_to_policy() [all …]
|
D | cil_post.c | 156 int rc = SEPOL_ERR; in cil_post_portcon_compare() 175 int rc = SEPOL_ERR; in cil_post_genfscon_compare() 229 int rc = SEPOL_ERR; in cil_post_pirqcon_compare() 246 int rc = SEPOL_ERR; in cil_post_iomemcon_compare() 265 int rc = SEPOL_ERR; in cil_post_ioportcon_compare() 284 int rc = SEPOL_ERR; in cil_post_pcidevicecon_compare() 301 int rc = SEPOL_ERR; in cil_post_devicetreecon_compare() 592 int rc = SEPOL_ERR; in __cil_type_to_bitmap() 644 int rc = SEPOL_ERR; in __cil_role_to_bitmap() 680 return SEPOL_ERR; in __cil_perm_to_bitmap() [all …]
|
D | cil_fqn.c | 60 rc = SEPOL_ERR; in __cil_fqn_qualify_decls() 88 rc = SEPOL_ERR; in __cil_fqn_qualify_blocks()
|
D | cil_copy_ast.c | 243 return SEPOL_ERR; in cil_copy_class() 281 return SEPOL_ERR; in cil_copy_classpermission() 622 return SEPOL_ERR; in cil_copy_alias() 716 return SEPOL_ERR; in cil_copy_bool() 736 return SEPOL_ERR; in cil_copy_tunable() 834 return SEPOL_ERR; in cil_copy_catset() 914 return SEPOL_ERR; in cil_copy_level() 951 return SEPOL_ERR; in cil_copy_levelrange() 988 return SEPOL_ERR; in cil_copy_context() 1335 int rc = SEPOL_ERR; in cil_copy_call() [all …]
|
D | cil_reset_ast.c | 531 int rc = SEPOL_ERR; in cil_reset_ast() 536 return SEPOL_ERR; in cil_reset_ast()
|
D | cil_tree.c | 180 int rc = SEPOL_ERR; in cil_tree_walk_core() 216 int rc = SEPOL_ERR; in cil_tree_walk() 250 int rc = SEPOL_ERR; in cil_expr_to_string() 257 rc = SEPOL_ERR; in cil_expr_to_string() 283 rc = SEPOL_ERR; in cil_expr_to_string() 334 rc = SEPOL_ERR; in cil_expr_to_string()
|
D | cil.c | 364 int rc = SEPOL_ERR; in cil_compile() 750 return SEPOL_ERR; in cil_flavor_to_symtab_index() 829 return SEPOL_ERR; in cil_flavor_to_symtab_index() 1126 int rc = SEPOL_ERR; in cil_userprefixes_to_string() 1178 int rc = SEPOL_ERR; in cil_cats_to_ebitmap() 1713 return SEPOL_ERR; in cil_get_symtab()
|
/external/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 …]
|
/external/selinux/secilc/ |
D | secilc.c | 74 int rc = SEPOL_ERR; in main() 218 rc = SEPOL_ERR; in main() 264 rc = SEPOL_ERR; in main() 269 rc = SEPOL_ERR; in main() 277 rc = SEPOL_ERR; in main()
|
/external/selinux/libsepol/include/sepol/ |
D | errcodes.h | 18 #define SEPOL_ERR -1 macro
|
/external/selinux/libsepol/src/ |
D | link.c | 152 ret = SEPOL_ERR; in permission_copy_callback() 159 ret = SEPOL_ERR; in permission_copy_callback() 266 ret = SEPOL_ERR; in class_copy_callback() 291 ret = SEPOL_ERR; in class_copy_callback() 296 ret = SEPOL_ERR; in class_copy_callback() 303 ret = SEPOL_ERR; in class_copy_callback() 651 return SEPOL_ERR; in bool_copy_callback() 682 return SEPOL_ERR; in sens_copy_callback() 723 return SEPOL_ERR; in cat_copy_callback() 2231 ret = SEPOL_ERR; in enable_avrules()
|