/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 112 return SEPOL_OK; in __cil_get_sepol_user_datum() 123 return SEPOL_OK; in __cil_get_sepol_role_datum() 134 return SEPOL_OK; in __cil_get_sepol_type_datum() 145 return SEPOL_OK; in __cil_get_sepol_class_datum() 156 return SEPOL_OK; in __cil_get_sepol_cat_datum() 167 return SEPOL_OK; in __cil_get_sepol_level_datum() 190 return SEPOL_OK; in __cil_expand_role() 216 return SEPOL_OK; in __cil_expand_type() 267 return SEPOL_OK; in __add_classes_from_map_perms() 297 if (rc != SEPOL_OK) { in cil_common_to_policydb() [all …]
|
D | cil_resolve_ast.c | 118 if (rc != SEPOL_OK) { in __cil_resolve_perms() 131 if (rc != SEPOL_OK) { in __cil_resolve_perms() 141 return SEPOL_OK; in __cil_resolve_perms() 155 if (rc != SEPOL_OK) { in cil_resolve_classperms() 168 if (rc != SEPOL_OK) { in cil_resolve_classperms() 172 return SEPOL_OK; in cil_resolve_classperms() 184 if (rc != SEPOL_OK) { in cil_resolve_classperms_set() 192 if (rc != SEPOL_OK) { in cil_resolve_classperms_set() 197 return SEPOL_OK; in cil_resolve_classperms_set() 211 if (rc != SEPOL_OK) { in cil_resolve_classperms_list() [all …]
|
D | cil_verify.c | 73 return SEPOL_OK; in __cil_verify_name() 139 return SEPOL_OK; in __cil_verify_syntax() 200 if (rc != SEPOL_OK) { in cil_verify_expr_syntax() 204 return SEPOL_OK; in cil_verify_expr_syntax() 262 return SEPOL_OK; in cil_verify_constraint_leaf_expr_syntax() 306 if (rc != SEPOL_OK) { in cil_verify_constraint_expr_syntax() 311 return SEPOL_OK; in cil_verify_constraint_expr_syntax() 330 if (rc != SEPOL_OK) { in cil_verify_no_self_reference() 336 return SEPOL_OK; in cil_verify_no_self_reference() 359 return SEPOL_OK; in __cil_verify_ranges() [all …]
|
D | cil_post.c | 401 return SEPOL_OK; in __cil_post_db_count_helper() 572 return SEPOL_OK; in __cil_post_db_array_helper() 581 if (rc != SEPOL_OK) { in __evaluate_type_expression() 601 if (rc != SEPOL_OK) goto exit; in __cil_type_to_bitmap() 621 return SEPOL_OK; in __cil_type_to_bitmap() 633 if (rc != SEPOL_OK) { in __evaluate_role_expression() 653 if (rc != SEPOL_OK) goto exit; in __cil_role_to_bitmap() 665 return SEPOL_OK; in __cil_role_to_bitmap() 683 return SEPOL_OK; in __cil_perm_to_bitmap() 694 return SEPOL_OK; in __evaluate_cat_expression() [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() 289 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() 112 if (rc != SEPOL_OK) { in __cil_fqn_qualify_blocks() 122 if (rc != SEPOL_OK) { in __cil_fqn_qualify_blocks()
|
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 | 342 if (rc != SEPOL_OK) { in cil_add_file() 350 rc = SEPOL_OK; in cil_add_file() 372 if (rc != SEPOL_OK) { in cil_compile() 382 if (rc != SEPOL_OK) { in cil_compile() 389 if (rc != SEPOL_OK) { in cil_compile() 396 if (rc != SEPOL_OK ) { in cil_compile() 418 if (rc != SEPOL_OK) { in cil_build_policydb_pdb() 438 if (rc != SEPOL_OK) { in cil_build_policydb() 832 return SEPOL_OK; in cil_flavor_to_symtab_index() 1137 rc = SEPOL_OK; in cil_userprefixes_to_string() [all …]
|
D | cil_reset_ast.c | 19 return SEPOL_OK; in __class_reset_perm_values() 526 return SEPOL_OK; in __cil_reset_node() 534 if (rc != SEPOL_OK) { in cil_reset_ast() 539 return SEPOL_OK; in cil_reset_ast()
|
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 …]
|
/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_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_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.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()
|
D | test_cil_symtab.c | 60 CuAssertIntEquals(tc, SEPOL_OK, rc); in test_cil_symtab_insert()
|
/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
|