/external/selinux/libsepol/cil/src/ |
D | cil_resolve_ast.c | 120 if (rc != SEPOL_OK) { in __cil_resolve_perms() 133 if (rc != SEPOL_OK) { in __cil_resolve_perms() 143 return SEPOL_OK; in __cil_resolve_perms() 157 if (rc != SEPOL_OK) { in cil_resolve_classperms() 170 if (rc != SEPOL_OK) { in cil_resolve_classperms() 174 return SEPOL_OK; in cil_resolve_classperms() 186 if (rc != SEPOL_OK) { in cil_resolve_classperms_set() 194 if (rc != SEPOL_OK) { in cil_resolve_classperms_set() 199 return SEPOL_OK; in cil_resolve_classperms_set() 213 if (rc != SEPOL_OK) { in cil_resolve_classperms_list() [all …]
|
D | cil_binary.c | 89 return SEPOL_OK; in __cil_get_sepol_user_datum() 100 return SEPOL_OK; in __cil_get_sepol_role_datum() 111 return SEPOL_OK; in __cil_get_sepol_type_datum() 122 return SEPOL_OK; in __cil_get_sepol_class_datum() 133 return SEPOL_OK; in __cil_get_sepol_cat_datum() 144 return SEPOL_OK; in __cil_get_sepol_level_datum() 169 return SEPOL_OK; in __cil_expand_user() 195 return SEPOL_OK; in __cil_expand_role() 221 return SEPOL_OK; in __cil_expand_type() 253 if (rc != SEPOL_OK) { in cil_common_to_policydb() [all …]
|
D | cil_verify.c | 74 return SEPOL_OK; in __cil_verify_name() 140 return SEPOL_OK; in __cil_verify_syntax() 201 if (rc != SEPOL_OK) { in cil_verify_expr_syntax() 205 return SEPOL_OK; in cil_verify_expr_syntax() 263 return SEPOL_OK; in cil_verify_constraint_leaf_expr_syntax() 307 if (rc != SEPOL_OK) { in cil_verify_constraint_expr_syntax() 312 return SEPOL_OK; in cil_verify_constraint_expr_syntax() 331 if (rc != SEPOL_OK) { in cil_verify_no_self_reference() 337 return SEPOL_OK; in cil_verify_no_self_reference() 360 return SEPOL_OK; in __cil_verify_ranges() [all …]
|
D | cil_post.c | 426 return SEPOL_OK; in __cil_post_db_count_helper() 605 return SEPOL_OK; in __cil_post_db_array_helper() 614 if (rc != SEPOL_OK) { in __evaluate_type_expression() 634 if (rc != SEPOL_OK) goto exit; in __cil_type_to_bitmap() 654 return SEPOL_OK; in __cil_type_to_bitmap() 666 if (rc != SEPOL_OK) { in __evaluate_user_expression() 688 if (rc != SEPOL_OK) { in __cil_user_to_bitmap() 702 return SEPOL_OK; in __cil_user_to_bitmap() 714 if (rc != SEPOL_OK) { in __evaluate_role_expression() 734 if (rc != SEPOL_OK) goto exit; in __cil_role_to_bitmap() [all …]
|
D | cil_build_ast.c | 69 if (rc != SEPOL_OK) { in cil_fill_list() 79 return SEPOL_OK; in cil_fill_list() 91 if (rc != SEPOL_OK) { in cil_gen_node() 96 if (rc != SEPOL_OK) { in cil_gen_node() 108 if (cil_symtab_get_datum(symtab, key, &datum) == SEPOL_OK) { in cil_gen_node() 136 return SEPOL_OK; in cil_gen_node() 171 if (rc != SEPOL_OK) { in cil_gen_block() 182 if (rc != SEPOL_OK) { in cil_gen_block() 186 return SEPOL_OK; in cil_gen_block() 225 if (rc != SEPOL_OK) { in cil_gen_blockinherit() [all …]
|
D | cil_copy_ast.c | 95 return SEPOL_OK; in cil_copy_node() 113 return SEPOL_OK; in cil_copy_block() 127 return SEPOL_OK; in cil_copy_blockabstract() 142 return SEPOL_OK; in cil_copy_blockinherit() 160 return SEPOL_OK; in cil_copy_policycap() 178 return SEPOL_OK; in cil_copy_perm() 230 return SEPOL_OK; in cil_copy_classmapping() 252 return SEPOL_OK; in cil_copy_class() 267 return SEPOL_OK; in cil_copy_classorder() 291 return SEPOL_OK; in cil_copy_classpermission() [all …]
|
D | cil_policy.c | 112 return SEPOL_OK; in cil_combine_policy() 133 return SEPOL_OK; in cil_portcon_to_policy() 148 return SEPOL_OK; in cil_genfscon_to_policy() 164 return SEPOL_OK; in cil_netifcon_to_policy() 214 return SEPOL_OK; in cil_nodecon_to_policy() 232 return SEPOL_OK; in cil_pirqcon_to_policy() 245 return SEPOL_OK; in cil_iomemcon_to_policy() 259 return SEPOL_OK; in cil_ioportcon_to_policy() 273 return SEPOL_OK; in cil_pcidevicecon_to_policy() 296 return SEPOL_OK; in cil_fsuse_to_policy() [all …]
|
D | cil_fqn.c | 51 int rc = SEPOL_OK; in __cil_fqn_qualify_decls() 79 int rc = SEPOL_OK; in __cil_fqn_qualify_blocks() 113 if (rc != SEPOL_OK) { in __cil_fqn_qualify_blocks() 123 if (rc != SEPOL_OK) { in __cil_fqn_qualify_blocks()
|
D | cil_find.c | 79 int rc = SEPOL_OK; in cil_type_matches() 248 return SEPOL_OK; in __add_classes_from_map_perms() 292 int rc = SEPOL_OK; in cil_find_matching_avrule() 316 rc = SEPOL_OK; in cil_find_matching_avrule() 324 rc = SEPOL_OK; in cil_find_matching_avrule() 340 rc = SEPOL_OK; in cil_find_matching_avrule() 348 int rc = SEPOL_OK; in __cil_find_matching_avrule_in_ast()
|
D | cil_symtab.c | 57 if (rc != SEPOL_OK) { in cil_symtab_init() 91 if (rc == SEPOL_OK) { in cil_symtab_insert() 124 return SEPOL_OK; in cil_symtab_get_datum() 138 return SEPOL_OK; in __cil_symtab_destroy_helper() 220 return SEPOL_OK; in cil_complex_symtab_insert()
|
D | cil_strpool.c | 76 if (rc != SEPOL_OK) { in cil_strpool_add() 89 return SEPOL_OK; in cil_strpool_entry_destroy()
|
D | cil.c | 355 if (rc != SEPOL_OK) { in cil_add_file() 363 rc = SEPOL_OK; in cil_add_file() 385 if (rc != SEPOL_OK) { in cil_compile() 395 if (rc != SEPOL_OK) { in cil_compile() 402 if (rc != SEPOL_OK) { in cil_compile() 409 if (rc != SEPOL_OK ) { in cil_compile() 431 if (rc != SEPOL_OK) { in cil_build_policydb_pdb() 451 if (rc != SEPOL_OK) { in cil_build_policydb() 859 return SEPOL_OK; in cil_flavor_to_symtab_index() 1184 rc = SEPOL_OK; in cil_userprefixes_to_string() [all …]
|
D | cil_tree.c | 70 return SEPOL_OK; in cil_tree_init() 187 if (rc != SEPOL_OK) { in cil_tree_walk_core() 194 return SEPOL_OK; in cil_tree_walk_core() 199 if (rc != SEPOL_OK) { in cil_tree_walk_core() 207 return SEPOL_OK; in cil_tree_walk_core() 219 return SEPOL_OK; in cil_tree_walk() 224 if (rc != SEPOL_OK) { in cil_tree_walk() 231 if (rc != SEPOL_OK) { in cil_tree_walk() 237 if (rc != SEPOL_OK) { in cil_tree_walk() 243 return SEPOL_OK; in cil_tree_walk() [all …]
|
D | cil_reset_ast.c | 19 return SEPOL_OK; in __class_reset_perm_values() 557 return SEPOL_OK; in __cil_reset_node() 565 if (rc != SEPOL_OK) { in cil_reset_ast() 570 return SEPOL_OK; in cil_reset_ast()
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 71 CuAssertIntEquals(tc, rc, SEPOL_OK); in test_cil_copy_list() 93 CuAssertIntEquals(tc, rc, SEPOL_OK); in test_cil_copy_list_sublist() 117 CuAssertIntEquals(tc, rc, SEPOL_OK); in test_cil_copy_list_sublist_extra() 168 CuAssertIntEquals(tc, rc, SEPOL_OK); in test_cil_copy_block() 202 CuAssertIntEquals(tc, rc, SEPOL_OK); in test_cil_copy_perm() 205 CuAssertIntEquals(tc, rc, SEPOL_OK); in test_cil_copy_perm() 208 CuAssertIntEquals(tc, rc, SEPOL_OK); in test_cil_copy_perm() 236 CuAssertIntEquals(tc, rc, SEPOL_OK); in test_cil_copy_class() 263 CuAssertIntEquals(tc, rc, SEPOL_OK); in test_cil_copy_common() 299 CuAssertIntEquals(tc, rc, SEPOL_OK); in test_cil_copy_classcommon() [all …]
|
D | test_cil_lexer.c | 46 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_lexer_setup() 64 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_lexer_next() 71 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_lexer_next() 78 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_lexer_next() 85 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_lexer_next() 92 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_lexer_next()
|
D | test_cil_resolve_ast.c | 87 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_resolve_name() 146 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_resolve_roleallow() 205 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_resolve_classmapping_anon() 238 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_resolve_classmapping_anon_inmacro() 239 CuAssertIntEquals(tc, SEPOL_OK, rc2); in test_cil_resolve_classmapping_anon_inmacro() 240 CuAssertIntEquals(tc, SEPOL_OK, rc3); in test_cil_resolve_classmapping_anon_inmacro() 274 CuAssertIntEquals(tc, SEPOL_OK, rc2); in test_cil_resolve_classmapping_anon_inmacro_neg() 275 CuAssertIntEquals(tc, SEPOL_OK, rc3); in test_cil_resolve_classmapping_anon_inmacro_neg() 295 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_resolve_classmapping_named() 375 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_resolve_rolebounds() [all …]
|
D | test_cil_list.c | 73 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_list_append_item() 108 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_list_append_item_append() 109 CuAssertIntEquals(tc, SEPOL_OK, rc2); in test_cil_list_append_item_append() 149 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_list_append_item_append_extra() 150 CuAssertIntEquals(tc, SEPOL_OK, rc2); in test_cil_list_append_item_append_extra() 151 CuAssertIntEquals(tc, SEPOL_OK, rc3); in test_cil_list_append_item_append_extra() 230 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_list_prepend_item() 259 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_list_prepend_item_prepend()
|
D | test_cil_build_ast.c | 89 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_parse_to_list() 167 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_set_to_list() 222 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_gen_block() 373 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_gen_blockinherit() 508 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_gen_perm() 509 CuAssertIntEquals(tc, SEPOL_OK, rc1); in test_cil_gen_perm() 510 CuAssertIntEquals(tc, SEPOL_OK, rc2); in test_cil_gen_perm() 627 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_gen_permset() 799 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_gen_perm_nodes() 873 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_fill_permset() [all …]
|
D | test_cil_fqn.c | 58 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_qualify_name() 74 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_qualify_name_cil_flavor()
|
D | test_cil.c | 74 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_get_symtab_block() 92 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_get_symtab_class() 110 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_get_symtab_root()
|
D | test_cil_parser.c | 53 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_parser()
|
/external/selinux/secilc/ |
D | secilc.c | 205 if (rc != SEPOL_OK) { in main() 238 if (rc != SEPOL_OK) { in main() 248 if (rc != SEPOL_OK) { in main() 254 if (rc != SEPOL_OK) { in main() 299 if (rc != SEPOL_OK) { in main() 323 rc = SEPOL_OK; in main()
|
/external/selinux/libsepol/src/ |
D | hashtab.c | 100 return SEPOL_OK; in hashtab_insert() 133 return SEPOL_OK; in hashtab_remove() 175 return SEPOL_OK; in hashtab_replace() 230 return SEPOL_OK; in hashtab_map() 241 return SEPOL_OK; in hashtab_map()
|
/external/selinux/libsepol/include/sepol/ |
D | errcodes.h | 11 #define SEPOL_OK 0 macro
|