Home
last modified time | relevance | path

Searched refs:CIL_ERR (Results 1 – 18 of 18) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_verify.c56 cil_log(CIL_ERR, "Name length greater than max name length of %d", in __cil_verify_name()
63 cil_log(CIL_ERR, "First character in %s is not a letter\n", name); in __cil_verify_name()
69 cil_log(CIL_ERR, "Invalid character \"%c\" in %s\n", name[i], name); in __cil_verify_name()
76 cil_log(CIL_ERR, "Invalid name\n"); in __cil_verify_name()
142 cil_log(CIL_ERR, "Invalid syntax\n"); in __cil_verify_syntax()
169 cil_log(CIL_ERR,"Invalid operator (%s) for set expression\n", (char*)current->data); in cil_verify_expr_syntax()
175 …cil_log(CIL_ERR,"Invalid operator (%s) for boolean or tunable expression\n", (char*)current->data); in cil_verify_expr_syntax()
183 cil_log(CIL_ERR,"Operator (%s) only valid for catset expression\n", (char*)current->data); in cil_verify_expr_syntax()
195 cil_log(CIL_ERR,"Unexpected value (%s) for expression operator\n", (char*)current->data); in cil_verify_expr_syntax()
214 …cil_log(CIL_ERR, "l1, l2, h1, and h2 cannot be used on the left side with a string or list on the … in cil_verify_constraint_leaf_expr_syntax()
[all …]
Dcil_build_ast.c106 cil_log(CIL_ERR, "Re-declaration of %s %s\n", in cil_gen_node()
111 cil_log(CIL_ERR, "Previous declaration at line %d of %s\n", in cil_gen_node()
127 …cil_log(CIL_ERR, "%s %s shadows a macro parameter in macro declaration\n", cil_node_to_string(ast_… in cil_gen_node()
139 cil_log(CIL_ERR, "Failed to create node\n"); in cil_gen_node()
189 cil_log(CIL_ERR, "Bad block declaration at line %d of %s\n", in cil_gen_block()
239 cil_log(CIL_ERR, "Bad blockinherit declaration at line %d of %s\n", in cil_gen_blockinherit()
284 cil_log(CIL_ERR, "Bad blockabstract declaration at line %d of %s\n", in cil_gen_blockabstract()
329 cil_log(CIL_ERR, "Bad in statement at line %d of %s\n", in cil_gen_in()
385 cil_log(CIL_ERR, "Bad class declaration at line %d of %s\n", in cil_gen_class()
436 cil_log(CIL_ERR, "Bad classorder declaration at line %d of %s\n", in cil_gen_classorder()
[all …]
Dcil_parser.c82 cil_log(CIL_ERR, "Close parenthesis without matching open at line %d of %s\n", tok.line, path); in cil_parser()
90 cil_log(CIL_ERR, "Symbol not inside parenthesis at line %d of %s\n", tok.line, path); in cil_parser()
113 cil_log(CIL_ERR, "Open parenthesis without matching close at line %d of %s\n", tok.line, path); in cil_parser()
121 cil_log(CIL_ERR, "Invalid token '%s' at line %d of %s\n", tok.value, tok.line, path); in cil_parser()
124 cil_log(CIL_ERR, "Unknown token type '%d' at line %d of %s\n", tok.type, tok.line, path); in cil_parser()
Dcil_policy.c97 cil_log(CIL_ERR, "Error reading temp policy file\n"); in cil_combine_policy()
105 cil_log(CIL_ERR, "Error writing to policy.conf\n"); in cil_combine_policy()
491 cil_log(CIL_ERR, "Unknown operator in expression\n"); in cil_perms_to_policy()
498 cil_log(CIL_ERR, "Unknown flavor in expression\n"); in cil_perms_to_policy()
713 cil_log(CIL_ERR, "Unknown operator in expression\n"); in cil_expr_to_string()
786 cil_log(CIL_ERR, "Unknown operand in expression\n"); in cil_expr_to_string()
795 cil_log(CIL_ERR, "Unknown flavor in expression\n"); in cil_expr_to_string()
902 cil_log(CIL_ERR, "Failed to write expression\n"); in cil_booleanif_to_policy()
1149 cil_log(CIL_ERR, "Error converting node to policy %d\n", node->flavor); in __cil_gen_policy_node_helper()
1178 cil_log(CIL_ERR, "Error converting node to policy %d\n", rc); in __cil_gen_policy_node_helper()
[all …]
Dcil_resolve_ast.c119 cil_log(CIL_ERR, "Failed to resolve permission list\n"); in __cil_resolve_perms()
132 cil_log(CIL_ERR, "Failed to resolve permission %s\n", (char*)curr->data); in __cil_resolve_perms()
359 cil_log(CIL_ERR, "Type rule result must be a type [%d]\n",result_node->flavor); in cil_resolve_type_rule()
388 cil_log(CIL_ERR, "Attribute type not an attribute\n"); in cil_resolve_typeattributeset()
442 cil_log(CIL_ERR, "Alias cannot bind more than one value\n"); in cil_resolve_aliasactual()
465 cil_log(CIL_ERR, "Alias declared but not used at line %d of %s\n",current->line, current->path); in cil_resolve_alias_to_actual()
477 cil_log(CIL_ERR, "Circular alias found: %s ", a1->datum.name); in cil_resolve_alias_to_actual()
480 cil_log(CIL_ERR, "%s ", a1->datum.name); in cil_resolve_alias_to_actual()
483 cil_log(CIL_ERR,"\n"); in cil_resolve_alias_to_actual()
514 cil_log(CIL_ERR, "Typepermissive must be a type or type alias\n"); in cil_resolve_typepermissive()
[all …]
Dcil_binary.c177 cil_log(CIL_ERR, "Failed to copy role bits\n"); in __cil_expand_role()
184 cil_log(CIL_ERR, "Failed to set role bit\n"); in __cil_expand_role()
203 cil_log(CIL_ERR, "Failed to copy type bits\n"); in __cil_expand_type()
210 cil_log(CIL_ERR, "Failed to set type bit\n"); in __cil_expand_type()
456 cil_log(CIL_ERR, "Failed to insert role bounds for role %s\n", cil_role->datum.fqn); in cil_role_bounds_to_policydb()
539 cil_log(CIL_ERR, "Failed to insert type bounds for type %s\n", cil_type->datum.fqn); in cil_type_bounds_to_policydb()
748 cil_log(CIL_ERR, "Failed to insert user bounds for user %s\n", cil_user->datum.fqn); in cil_user_bounds_to_policydb()
1037 cil_log(CIL_ERR, "Conflicting type rules\n"); in __cil_insert_type_rule()
1063 cil_log(CIL_ERR, "Conflicting type rules\n"); in __cil_insert_type_rule()
1210 cil_log(CIL_ERR, "Conflicting name type transition rules\n"); in __cil_typetransition_to_avtab()
[all …]
Dcil_post.c582 cil_log(CIL_ERR, "Failed to expand type attribute to bitmap\n"); in __evaluate_type_expression()
608 cil_log(CIL_ERR, "Failed to set type bit\n"); in __cil_type_to_bitmap()
615 cil_log(CIL_ERR, "Failed to set type bit\n"); in __cil_type_to_bitmap()
634 cil_log(CIL_ERR, "Failed to expand role attribute to bitmap\n"); in __evaluate_role_expression()
659 cil_log(CIL_ERR, "Failed to set role bit\n"); in __cil_role_to_bitmap()
704 cil_log(CIL_ERR, "Failed to expand category expression to bitmap\n"); in __evaluate_cat_expression()
753 cil_log(CIL_ERR, "Failed to set cat bit\n"); in __cil_cat_to_bitmap()
762 cil_log(CIL_ERR, "Failed to set cat bit\n"); in __cil_cat_to_bitmap()
769 cil_log(CIL_ERR, "Failed to set cat bit\n"); in __cil_cat_to_bitmap()
793 cil_log(CIL_ERR, "Category sets cannont be used in a category range\n"); in __cil_expr_range_to_bitmap_helper()
[all …]
Dcil_log.c38 static enum cil_log_level cil_log_level = CIL_ERR;
Dcil_mem.c38 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_default_mem_error_handler()
Dcil.c343 cil_log(CIL_ERR, "Failed to parse %s\n", name); in cil_add_file()
373 cil_log(CIL_ERR, "Failed to build ast\n"); in cil_compile()
383 cil_log(CIL_ERR, "Failed to resolve ast\n"); in cil_compile()
390 cil_log(CIL_ERR, "Failed to qualify names\n"); in cil_compile()
397 cil_log(CIL_ERR, "Post process failed\n"); in cil_compile()
419 cil_log(CIL_ERR, "Failed to generate binary\n"); in cil_build_policydb_pdb()
439 cil_log(CIL_ERR, "Failed to generate binary\n"); in cil_build_policydb()
1584 cil_log(CIL_ERR, "Unknown value for handle-unknown: %i\n", handle_unknown); in cil_set_handle_unknown()
1671 cil_log(CIL_ERR, "Invalid symtab type\n"); in cil_get_symtab()
1711 cil_log(CIL_ERR, "Failed to get symtab from node at line %d of %s\n", in cil_get_symtab()
Dcil_fqn.c123 …cil_log(CIL_ERR,"Problem qualifying names in block at line %d of %s\n", child_args.node->line, chi… in __cil_fqn_qualify_blocks()
Dcil_list.c42 cil_vlog(CIL_ERR, msg, ap); in cil_list_error()
Dcil_tree.c57 cil_vlog(CIL_ERR, msg, ap); in cil_tree_error()
321 cil_log(CIL_ERR, "Unknown operator in expression\n"); in cil_expr_to_string()
394 cil_log(CIL_ERR, "Unknown operand in expression\n"); in cil_expr_to_string()
403 cil_log(CIL_ERR, "Unknown flavor in expression\n"); in cil_expr_to_string()
Dcil_symtab.c49 cil_vlog(CIL_ERR, msg, ap); in cil_symtab_error()
Dcil_reset_ast.c535 cil_log(CIL_ERR, "Failed to reset AST\n"); in cil_reset_ast()
Dcil_copy_ast.c1899 …cil_log(CIL_ERR, "%s %s shadows a macro parameter (%s line:%d)\n", cil_node_to_string(new), ((stru… in __cil_copy_node_helper()
1900 … cil_log(CIL_ERR, "Note: macro declaration (%s line:%d)\n", namespace->path, namespace->line); in __cil_copy_node_helper()
/external/selinux/libsepol/cil/include/cil/
Dcil.h57 CIL_ERR = 1, enumerator
/external/selinux/secilc/
Dsecilc.c97 enum cil_log_level log_level = CIL_ERR; in main()