Home
last modified time | relevance | path

Searched refs:SEPOL_ERR (Results 1 – 21 of 21) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_verify.c52 int rc = SEPOL_ERR; in __cil_verify_name()
59 rc = SEPOL_ERR; in __cil_verify_name()
83 int rc = SEPOL_ERR; in __cil_verify_syntax()
208 return SEPOL_ERR; in cil_verify_expr_syntax()
266 return SEPOL_ERR; in cil_verify_constraint_leaf_expr_syntax()
315 return SEPOL_ERR; in cil_verify_constraint_expr_syntax()
327 return SEPOL_ERR; in cil_verify_no_self_reference()
332 return SEPOL_ERR; in cil_verify_no_self_reference()
342 int rc = SEPOL_ERR; in __cil_verify_ranges()
381 return SEPOL_ERR; in __cil_verify_ordered_node_helper()
[all …]
Dcil_resolve_ast.c111 int rc = SEPOL_ERR; in __cil_resolve_perms()
151 int rc = SEPOL_ERR; in cil_resolve_classperms()
182 int rc = SEPOL_ERR; in cil_resolve_classperms_set()
207 int rc = SEPOL_ERR; in cil_resolve_classperms_list()
232 int rc = SEPOL_ERR; in cil_resolve_classpermissionset()
279 int rc = SEPOL_ERR; in cil_resolve_permissionx()
302 int rc = SEPOL_ERR; in cil_resolve_avrule()
364 int rc = SEPOL_ERR; in cil_resolve_type_rule()
395 rc = SEPOL_ERR; in cil_resolve_type_rule()
412 int rc = SEPOL_ERR; in cil_resolve_typeattributeset()
[all …]
Dcil_build_ast.c60 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()
370 rc = SEPOL_ERR; in cil_gen_class()
420 int rc = SEPOL_ERR; in cil_gen_classorder()
[all …]
Dcil_parser.c83 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()
Dcil_policy.c98 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 …]
Dcil_binary.c86 return SEPOL_ERR; in __cil_get_sepol_user_datum()
97 return SEPOL_ERR; in __cil_get_sepol_role_datum()
108 return SEPOL_ERR; in __cil_get_sepol_type_datum()
119 return SEPOL_ERR; in __cil_get_sepol_class_datum()
130 return SEPOL_ERR; in __cil_get_sepol_cat_datum()
141 return SEPOL_ERR; in __cil_get_sepol_level_datum()
172 return SEPOL_ERR; in __cil_expand_user()
198 return SEPOL_ERR; in __cil_expand_role()
224 return SEPOL_ERR; in __cil_expand_type()
243 int rc = SEPOL_ERR; in cil_common_to_policydb()
[all …]
Dcil_post.c156 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()
625 int rc = SEPOL_ERR; in __cil_type_to_bitmap()
677 int rc = SEPOL_ERR; in __cil_user_to_bitmap()
725 int rc = SEPOL_ERR; in __cil_role_to_bitmap()
[all …]
Dcil_fqn.c60 rc = SEPOL_ERR; in __cil_fqn_qualify_decls()
88 rc = SEPOL_ERR; in __cil_fqn_qualify_blocks()
Dcil_copy_ast.c243 return SEPOL_ERR; in cil_copy_class()
281 return SEPOL_ERR; in cil_copy_classpermission()
661 return SEPOL_ERR; in cil_copy_alias()
755 return SEPOL_ERR; in cil_copy_bool()
775 return SEPOL_ERR; in cil_copy_tunable()
831 return SEPOL_ERR; in cil_copy_permissionx()
913 return SEPOL_ERR; in cil_copy_catset()
993 return SEPOL_ERR; in cil_copy_level()
1030 return SEPOL_ERR; in cil_copy_levelrange()
1067 return SEPOL_ERR; in cil_copy_context()
[all …]
Dcil_tree.c180 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()
Dcil_reset_ast.c562 int rc = SEPOL_ERR; in cil_reset_ast()
567 return SEPOL_ERR; in cil_reset_ast()
Dcil.c377 int rc = SEPOL_ERR; in cil_compile()
773 return SEPOL_ERR; in cil_flavor_to_symtab_index()
856 return SEPOL_ERR; in cil_flavor_to_symtab_index()
1173 int rc = SEPOL_ERR; in cil_userprefixes_to_string()
1225 int rc = SEPOL_ERR; in cil_cats_to_ebitmap()
1760 return SEPOL_ERR; in cil_get_symtab()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_build_ast.c120 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 …]
Dtest_cil.c128 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()
Dtest_cil_list.c178 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()
Dtest_cil_copy_ast.c140 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 …]
Dtest_cil_resolve_ast.c121 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/
Dsecilc.c74 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/
Derrcodes.h18 #define SEPOL_ERR -1 macro
/external/selinux/libsepol/src/
Dhierarchy.c542 rc = SEPOL_ERR; in bounds_check_types()
586 return SEPOL_ERR; in bounds_check_roles()
629 return SEPOL_ERR; in bounds_check_users()
702 rc = SEPOL_ERR; in add_hierarchy_callback_template()
727 if (rc == SEPOL_ERR) in hierarchy_check_constraints()
734 rc = SEPOL_ERR; in hierarchy_check_constraints()
Dlink.c152 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()