/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 87 return SEPOL_OK; in __cil_get_sepol_user_datum() 98 return SEPOL_OK; in __cil_get_sepol_role_datum() 109 return SEPOL_OK; in __cil_get_sepol_type_datum() 120 return SEPOL_OK; in __cil_get_sepol_class_datum() 131 return SEPOL_OK; in __cil_get_sepol_cat_datum() 142 return SEPOL_OK; in __cil_get_sepol_level_datum() 167 return SEPOL_OK; in __cil_expand_user() 193 return SEPOL_OK; in __cil_expand_role() 219 return SEPOL_OK; in __cil_expand_type() 251 if (rc != SEPOL_OK) { in cil_common_to_policydb() [all …]
|
D | cil_resolve_ast.c | 124 if (rc != SEPOL_OK) { in __cil_resolve_perms() 137 if (rc != SEPOL_OK) { in __cil_resolve_perms() 151 return SEPOL_OK; in __cil_resolve_perms() 166 return SEPOL_OK; in cil_resolve_classperms() 170 if (rc != SEPOL_OK) { in cil_resolve_classperms() 183 if (rc != SEPOL_OK) { in cil_resolve_classperms() 187 return SEPOL_OK; in cil_resolve_classperms() 199 if (rc != SEPOL_OK) { in cil_resolve_classperms_set() 207 if (rc != SEPOL_OK) { in cil_resolve_classperms_set() 212 return SEPOL_OK; in cil_resolve_classperms_set() [all …]
|
D | cil_verify.c | 140 return SEPOL_OK; in cil_verify_name() 180 return SEPOL_OK; in __cil_verify_syntax() 242 if (rc != SEPOL_OK) { in cil_verify_expr_syntax() 246 return SEPOL_OK; in cil_verify_expr_syntax() 310 return SEPOL_OK; in cil_verify_constraint_leaf_expr_syntax() 354 if (rc != SEPOL_OK) { in cil_verify_constraint_expr_syntax() 359 return SEPOL_OK; in cil_verify_constraint_expr_syntax() 397 return SEPOL_OK; in cil_verify_conditional_blocks() 415 return SEPOL_OK; in cil_verify_decl_does_not_shadow_macro_parameter() 423 int rc = SEPOL_OK; in __verify_no_self_reference_in_expr() [all …]
|
D | cil_post.c | 670 return SEPOL_OK; in __cil_post_db_count_helper() 871 return SEPOL_OK; in __cil_post_db_array_helper() 880 if (rc != SEPOL_OK) { in __evaluate_type_expression() 900 if (rc != SEPOL_OK) goto exit; in __cil_type_to_bitmap() 920 return SEPOL_OK; in __cil_type_to_bitmap() 932 if (rc != SEPOL_OK) { in __evaluate_user_expression() 954 if (rc != SEPOL_OK) { in __cil_user_to_bitmap() 968 return SEPOL_OK; in __cil_user_to_bitmap() 980 if (rc != SEPOL_OK) { in __evaluate_role_expression() 1000 if (rc != SEPOL_OK) goto exit; in __cil_role_to_bitmap() [all …]
|
D | cil_build_ast.c | 70 if (rc != SEPOL_OK) { in cil_fill_list() 80 return SEPOL_OK; in cil_fill_list() 121 if (rc != SEPOL_OK) { in cil_add_decl_to_symtab() 140 return SEPOL_OK; in cil_add_decl_to_symtab() 149 if (rc != SEPOL_OK) { in cil_gen_node() 154 if (rc != SEPOL_OK) { in cil_gen_node() 162 if (rc != SEPOL_OK) { in cil_gen_node() 168 if (rc != SEPOL_OK) { in cil_gen_node() 173 return SEPOL_OK; in cil_gen_node() 212 if (rc != SEPOL_OK) { in cil_gen_block() [all …]
|
D | cil_copy_ast.c | 97 return SEPOL_OK; in cil_copy_node() 122 return SEPOL_OK; in cil_copy_block() 136 return SEPOL_OK; in cil_copy_blockabstract() 151 return SEPOL_OK; in cil_copy_blockinherit() 169 return SEPOL_OK; in cil_copy_policycap() 187 return SEPOL_OK; in cil_copy_perm() 239 return SEPOL_OK; in cil_copy_classmapping() 261 return SEPOL_OK; in cil_copy_class() 276 return SEPOL_OK; in cil_copy_classorder() 300 return SEPOL_OK; in cil_copy_classpermission() [all …]
|
D | cil_tree.c | 72 if (rc != SEPOL_OK) { in cil_tree_get_next_path() 185 return SEPOL_OK; in cil_tree_init() 289 if (rc != SEPOL_OK) { in cil_tree_walk_core() 296 return SEPOL_OK; in cil_tree_walk_core() 301 if (rc != SEPOL_OK) { in cil_tree_walk_core() 309 return SEPOL_OK; in cil_tree_walk_core() 321 return SEPOL_OK; in cil_tree_walk() 326 if (rc != SEPOL_OK) { in cil_tree_walk() 333 if (rc != SEPOL_OK) { in cil_tree_walk() 339 if (rc != SEPOL_OK) { in cil_tree_walk() [all …]
|
D | cil_fqn.c | 52 int rc = SEPOL_OK; in __cil_fqn_qualify_decls() 80 int rc = SEPOL_OK; in __cil_fqn_qualify_blocks() 115 if (rc != SEPOL_OK) { in __cil_fqn_qualify_blocks() 125 if (rc != SEPOL_OK) { in __cil_fqn_qualify_blocks()
|
D | cil_find.c | 84 int rc = SEPOL_OK; in cil_type_matches() 253 return SEPOL_OK; in __add_classes_from_map_perms() 297 int rc = SEPOL_OK; in cil_find_matching_avrule() 321 rc = SEPOL_OK; in cil_find_matching_avrule() 329 rc = SEPOL_OK; in cil_find_matching_avrule() 345 rc = SEPOL_OK; in cil_find_matching_avrule() 353 int rc = SEPOL_OK; in __cil_find_matching_avrule_in_ast()
|
D | cil.c | 525 if (rc != SEPOL_OK) { in cil_add_file() 533 rc = SEPOL_OK; in cil_add_file() 551 if (rc != SEPOL_OK) { in cil_compile() 561 if (rc != SEPOL_OK) { in cil_compile() 568 if (rc != SEPOL_OK) { in cil_compile() 575 if (rc != SEPOL_OK ) { in cil_compile() 595 if (rc != SEPOL_OK) { in cil_write_parse_ast() 614 if (rc != SEPOL_OK) { in cil_write_build_ast() 624 if (rc != SEPOL_OK) { in cil_write_build_ast() 643 if (rc != SEPOL_OK) { in cil_write_resolve_ast() [all …]
|
D | cil_symtab.c | 57 if (rc != SEPOL_OK) { in cil_symtab_init() 91 if (rc == SEPOL_OK) { in cil_symtab_insert() 126 return SEPOL_OK; in cil_symtab_get_datum() 140 return SEPOL_OK; in __cil_symtab_destroy_helper() 223 return SEPOL_OK; in cil_complex_symtab_insert()
|
D | cil_parser.c | 186 return SEPOL_OK; in add_hll_linemark() 227 int rc = SEPOL_OK; in cil_parser() 243 if (rc != SEPOL_OK) { in cil_parser() 321 return SEPOL_OK; in cil_parser()
|
D | cil_strpool.c | 79 if (rc != SEPOL_OK) { in cil_strpool_add() 95 return SEPOL_OK; in cil_strpool_entry_destroy()
|
/third_party/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()
|
/third_party/selinux/libsepol/fuzz/ |
D | secilc-fuzzer.c | 38 if (cil_add_file(db, "fuzz", (const char *)data, size) != SEPOL_OK) in LLVMFuzzerTestOneInput() 41 if (cil_compile(db) != SEPOL_OK) in LLVMFuzzerTestOneInput() 44 if (cil_build_policydb(db, &pdb) != SEPOL_OK) in LLVMFuzzerTestOneInput() 47 if (sepol_policydb_optimize(pdb) != SEPOL_OK) in LLVMFuzzerTestOneInput()
|
/third_party/selinux/secilc/ |
D | secilc.c | 254 if (rc != SEPOL_OK) { in main() 299 if (rc != SEPOL_OK) { in main() 309 if (rc != SEPOL_OK) { in main() 315 if (rc != SEPOL_OK) { in main() 322 if (rc != SEPOL_OK) { in main() 368 if (rc != SEPOL_OK) { in main() 394 rc = SEPOL_OK; in main()
|
D | secil2conf.c | 164 if (rc != SEPOL_OK) { in main() 174 if (rc != SEPOL_OK) { in main() 194 rc = SEPOL_OK; in main()
|
D | secil2tree.c | 170 if (rc != SEPOL_OK) { in main() 202 if (rc != SEPOL_OK) { in main()
|
/third_party/selinux/libsepol/src/ |
D | hashtab.c | 141 return SEPOL_OK; in hashtab_insert() 174 return SEPOL_OK; in hashtab_remove() 229 return SEPOL_OK; in hashtab_map() 240 return SEPOL_OK; in hashtab_map()
|