Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_verify.c52 int rc = SEPOL_ERR; in __cil_verify_name()
65 rc = SEPOL_ERR; in __cil_verify_name()
89 int rc = SEPOL_ERR; in __cil_verify_syntax()
214 return SEPOL_ERR; in cil_verify_expr_syntax()
275 return SEPOL_ERR; in cil_verify_constraint_leaf_expr_syntax()
324 return SEPOL_ERR; in cil_verify_constraint_expr_syntax()
336 return SEPOL_ERR; in cil_verify_no_self_reference()
341 return SEPOL_ERR; in cil_verify_no_self_reference()
351 int rc = SEPOL_ERR; in __cil_verify_ranges()
390 return SEPOL_ERR; in __cil_verify_ordered_node_helper()
[all …]
Dcil_write_ast.c53 int rc = SEPOL_ERR; in __cil_unfill_expr_helper()
70 rc = SEPOL_ERR; in __cil_unfill_expr_helper()
80 rc = SEPOL_ERR; in __cil_unfill_expr_helper()
211 rc = SEPOL_ERR; in __cil_unfill_expr_helper()
231 int rc = SEPOL_ERR; in cil_unfill_expr()
269 int rc = SEPOL_ERR; in cil_unfill_level()
284 rc = SEPOL_ERR; in cil_unfill_level()
290 rc = SEPOL_ERR; in cil_unfill_level()
301 int rc = SEPOL_ERR; in cil_unfill_levelrange()
308 rc = SEPOL_ERR; in cil_unfill_levelrange()
[all …]
Dcil_resolve_ast.c111 int rc = SEPOL_ERR; in __cil_resolve_perms()
155 int rc = SEPOL_ERR; in cil_resolve_classperms()
186 int rc = SEPOL_ERR; in cil_resolve_classperms_set()
211 int rc = SEPOL_ERR; in cil_resolve_classperms_list()
236 int rc = SEPOL_ERR; in cil_resolve_classpermissionset()
288 int rc = SEPOL_ERR; in cil_resolve_permissionx()
312 int rc = SEPOL_ERR; in cil_resolve_avrule()
372 int rc = SEPOL_ERR; in cil_resolve_type_rule()
401 rc = SEPOL_ERR; in cil_resolve_type_rule()
418 int rc = SEPOL_ERR; in cil_resolve_typeattributeset()
[all …]
Dandroid.c76 int rc = SEPOL_ERR; in __extract_attributees_helper()
89 rc = SEPOL_ERR; in __extract_attributees_helper()
145 int rc = SEPOL_ERR; in cil_extract_attributees()
207 int rc = SEPOL_ERR; in __cil_attrib_convert_type()
241 int rc = SEPOL_ERR; in __cil_attrib_swap_symtab_key()
272 int rc = SEPOL_ERR; in cil_attrib_type_expr()
295 rc = SEPOL_ERR; in cil_attrib_type_expr()
310 int rc = SEPOL_ERR; in cil_attrib_check_context()
334 int rc = SEPOL_ERR; in cil_attrib_sidcontext()
360 int rc = SEPOL_ERR; in cil_attrib_roletype()
[all …]
Dcil_build_ast.c60 int rc = SEPOL_ERR; in cil_fill_list()
109 int rc = SEPOL_ERR; in cil_gen_node()
161 rc = SEPOL_ERR; in cil_gen_node()
197 int rc = SEPOL_ERR; in cil_gen_block()
250 int rc = SEPOL_ERR; in cil_gen_blockinherit()
294 int rc = SEPOL_ERR; in cil_gen_blockabstract()
338 int rc = SEPOL_ERR; in cil_gen_in()
387 int rc = SEPOL_ERR; in cil_gen_class()
399 rc = SEPOL_ERR; in cil_gen_class()
453 int rc = SEPOL_ERR; in cil_gen_classorder()
[all …]
Dcil_binary.c88 return SEPOL_ERR; in __cil_get_sepol_user_datum()
99 return SEPOL_ERR; in __cil_get_sepol_role_datum()
110 return SEPOL_ERR; in __cil_get_sepol_type_datum()
121 return SEPOL_ERR; in __cil_get_sepol_class_datum()
132 return SEPOL_ERR; in __cil_get_sepol_cat_datum()
143 return SEPOL_ERR; in __cil_get_sepol_level_datum()
174 return SEPOL_ERR; in __cil_expand_user()
200 return SEPOL_ERR; in __cil_expand_role()
226 return SEPOL_ERR; in __cil_expand_type()
245 int rc = SEPOL_ERR; in cil_common_to_policydb()
[all …]
Dcil_post.c239 int rc = SEPOL_ERR; in cil_post_ibpkeycon_compare()
261 int rc = SEPOL_ERR; in cil_post_portcon_compare()
284 int rc = SEPOL_ERR; in cil_post_genfscon_compare()
306 int rc = SEPOL_ERR; in cil_post_ibendportcon_compare()
357 int rc = SEPOL_ERR; in cil_post_pirqcon_compare()
374 int rc = SEPOL_ERR; in cil_post_iomemcon_compare()
393 int rc = SEPOL_ERR; in cil_post_ioportcon_compare()
412 int rc = SEPOL_ERR; in cil_post_pcidevicecon_compare()
429 int rc = SEPOL_ERR; in cil_post_devicetreecon_compare()
877 int rc = SEPOL_ERR; in __cil_type_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()
684 return SEPOL_ERR; in cil_copy_alias()
778 return SEPOL_ERR; in cil_copy_bool()
798 return SEPOL_ERR; in cil_copy_tunable()
854 return SEPOL_ERR; in cil_copy_permissionx()
936 return SEPOL_ERR; in cil_copy_catset()
1016 return SEPOL_ERR; in cil_copy_level()
1053 return SEPOL_ERR; in cil_copy_levelrange()
1090 return SEPOL_ERR; in cil_copy_context()
[all …]
Dcil_parser.c178 return SEPOL_ERR; in add_hll_linemark()
315 return SEPOL_ERR; in cil_parser()
Dcil_reset_ast.c583 int rc = SEPOL_ERR; in cil_reset_ast()
588 return SEPOL_ERR; in cil_reset_ast()
Dcil_tree.c266 int rc = SEPOL_ERR; in cil_tree_walk_core()
302 int rc = SEPOL_ERR; in cil_tree_walk()
336 int rc = SEPOL_ERR; in cil_expr_to_string()
343 rc = SEPOL_ERR; in cil_expr_to_string()
369 rc = SEPOL_ERR; in cil_expr_to_string()
420 rc = SEPOL_ERR; in cil_expr_to_string()
Dcil.c554 int rc = SEPOL_ERR; in cil_compile()
968 return SEPOL_ERR; in cil_flavor_to_symtab_index()
1051 return SEPOL_ERR; in cil_flavor_to_symtab_index()
1376 int rc = SEPOL_ERR; in cil_userprefixes_to_string()
1428 int rc = SEPOL_ERR; in cil_cats_to_ebitmap()
1979 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.c79 int rc = SEPOL_ERR; in main()
260 rc = SEPOL_ERR; in main()
266 rc = SEPOL_ERR; in main()
281 rc = SEPOL_ERR; in main()
322 rc = SEPOL_ERR; in main()
327 rc = SEPOL_ERR; in main()
335 rc = SEPOL_ERR; in main()
370 rc = SEPOL_ERR; in main()
376 rc = SEPOL_ERR; in main()
Dsecil2conf.c62 int rc = SEPOL_ERR; in main()
134 rc = SEPOL_ERR; in main()
176 rc = SEPOL_ERR; in main()
/external/selinux/libsepol/include/sepol/
Derrcodes.h19 #define SEPOL_ERR -1 macro
/external/selinux/libsepol/src/
Dhierarchy.c502 rc = SEPOL_ERR; in bounds_check_types()
546 return SEPOL_ERR; in bounds_check_roles()
589 return SEPOL_ERR; in bounds_check_users()
662 rc = SEPOL_ERR; in add_hierarchy_callback_template()
687 if (rc == SEPOL_ERR) in hierarchy_check_constraints()
694 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()
2214 ret = SEPOL_ERR; in enable_avrules()