Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_verify.c57 cil_log(CIL_ERR, "Name is NULL\n"); in __cil_verify_name()
63 cil_log(CIL_ERR, "Name length greater than max name length of %d", in __cil_verify_name()
70 cil_log(CIL_ERR, "First character in %s is not a letter\n", name); in __cil_verify_name()
76 cil_log(CIL_ERR, "Invalid character \"%c\" in %s\n", name[i], name); in __cil_verify_name()
83 cil_log(CIL_ERR, "Invalid name\n"); in __cil_verify_name()
149 cil_log(CIL_ERR, "Invalid syntax\n"); in __cil_verify_syntax()
176 cil_log(CIL_ERR,"Invalid operator (%s) for set expression\n", (char*)current->data); in cil_verify_expr_syntax()
182 …cil_log(CIL_ERR,"Invalid operator (%s) for boolean or tunable expression\n", (char*)current->data); in cil_verify_expr_syntax()
190 …cil_log(CIL_ERR,"Operator (%s) only valid for catset and permissionx expression\n", (char*)current… in cil_verify_expr_syntax()
202 cil_log(CIL_ERR,"Unexpected value (%s) for expression operator\n", (char*)current->data); in cil_verify_expr_syntax()
[all …]
Dcil_parser.c113 cil_log(CIL_ERR, "Line mark end without start\n"); in add_hll_linemark()
134 cil_log(CIL_ERR, "Invalid line mark syntax\n"); in add_hll_linemark()
140 cil_log(CIL_ERR, "Invalid line mark syntax\n"); in add_hll_linemark()
145 cil_log(CIL_ERR, "Problem parsing line number for line mark\n"); in add_hll_linemark()
153 cil_log(CIL_ERR, "Invalid line mark syntax\n"); in add_hll_linemark()
170 cil_log(CIL_ERR, "Invalid line mark syntax\n"); in add_hll_linemark()
177 cil_log(CIL_ERR, "Problem with high-level line mark at line %d of %s\n", tok.line, path); in add_hll_linemark()
246 cil_log(CIL_ERR, "Close parenthesis without matching open at line %d of %s\n", tok.line, path); in cil_parser()
256 cil_log(CIL_ERR, "Symbol not inside parenthesis at line %d of %s\n", tok.line, path); in cil_parser()
281 cil_log(CIL_ERR, "Open parenthesis without matching close at line %d of %s\n", tok.line, path); in cil_parser()
[all …]
Dandroid.c87 cil_log(CIL_ERR, "%s unsupported statement in attributee policy (line %d)\n", in __extract_attributees_helper()
112 cil_log(CIL_ERR, "%s unsupported statement in attributee policy (line %d)\n", in __extract_attributees_helper()
117 cil_log(CIL_ERR, "%s unsupported statement in attributee policy (line %d)\n", in __extract_attributees_helper()
123 cil_log(CIL_ERR, "%s unsupported statement in attributee policy (line %d)\n", in __extract_attributees_helper()
290 cil_log(CIL_ERR, "AST already resolved. Not yet supported.\n"); in cil_attrib_type_expr()
310 cil_log(CIL_ERR, "AST already resolved. Not yet supported.\n"); in cil_attrib_check_context()
361 cil_log(CIL_ERR, "AST already resolved. !!! Not yet supported.\n"); in cil_attrib_roletype()
381 cil_log(CIL_ERR, "AST already resolved. !!! Not yet supported.\n"); in cil_attrib_type()
402 cil_log(CIL_ERR, "AST already resolved. ### Not yet supported.\n"); in cil_attrib_typepermissive()
416 cil_log(CIL_ERR, "AST already resolved. Not yet supported (line %d).\n", in cil_attrib_typeattribute()
[all …]
Dcil_build_ast.c106 cil_log(CIL_ERR, "Re-declaration of %s %s\n", in cil_gen_node()
111 cil_tree_log(node, CIL_ERR, "Previous declaration"); in cil_gen_node()
126 …cil_log(CIL_ERR, "%s %s shadows a macro parameter in macro declaration\n", cil_node_to_string(ast_… in cil_gen_node()
138 cil_log(CIL_ERR, "Failed to create node\n"); in cil_gen_node()
188 cil_tree_log(parse_current, CIL_ERR, "Bad block declaration"); in cil_gen_block()
237 cil_tree_log(parse_current, CIL_ERR, "Bad blockinherit declaration"); in cil_gen_blockinherit()
281 cil_tree_log(parse_current, CIL_ERR, "Bad blockabstract declaration"); in cil_gen_blockabstract()
325 cil_tree_log(parse_current, CIL_ERR, "Bad in statement"); in cil_gen_in()
364 cil_log(CIL_ERR, "'unordered' keyword is reserved and not a valid class name.\n"); in cil_gen_class()
381 cil_tree_log(parse_current, CIL_ERR, "Too many permissions in class '%s'", class->datum.name); in cil_gen_class()
[all …]
Dcil_write_ast.c69 cil_log(CIL_ERR, "OOM. Unable to copy string.\n"); in __cil_unfill_expr_helper()
79 cil_log(CIL_ERR, "OOM. Unable to copy string.\n"); in __cil_unfill_expr_helper()
125 cil_log(CIL_ERR, "Unknown operator in expression: %d\n", op_flavor); in __cil_unfill_expr_helper()
204 cil_log(CIL_ERR, "Unknown operand in expression\n"); in __cil_unfill_expr_helper()
210 cil_log(CIL_ERR, "OOM. Unable to copy string.\n"); in __cil_unfill_expr_helper()
219 cil_log(CIL_ERR, "Unknown flavor in expression\n"); in __cil_unfill_expr_helper()
283 cil_log(CIL_ERR, "Error unpacking and writing level\n"); in cil_unfill_level()
289 cil_log(CIL_ERR, "Error unpacking and writing level\n"); in cil_unfill_level()
307 cil_log(CIL_ERR, "OOM. Unable to copy level string.\n"); in cil_unfill_levelrange()
319 cil_log(CIL_ERR, "OOM. Unable to copy level string.\n"); in cil_unfill_levelrange()
[all …]
Dcil_resolve_ast.c121 cil_log(CIL_ERR, "Failed to resolve permission list\n"); in __cil_resolve_perms()
136 cil_log(CIL_ERR, "Failed to resolve permission %s for map class\n", (char*)curr->data); in __cil_resolve_perms()
282 cil_log(CIL_ERR, "Conflicting use of expandtypeattribute. " in cil_type_used()
409 cil_log(CIL_ERR, "Type rule result must be a type [%d]\n",result_node->flavor); in cil_resolve_type_rule()
438 cil_log(CIL_ERR, "Attribute type not an attribute\n"); in cil_resolve_typeattributeset()
487 cil_log(CIL_ERR, "Attribute type not an attribute\n"); in cil_resolve_expandtypeattribute()
523 cil_log(CIL_ERR, "%s is not an alias\n",alias_datum->name); in cil_resolve_aliasactual()
535 cil_log(CIL_ERR, "Alias cannot bind more than one value\n"); in cil_resolve_aliasactual()
558 cil_tree_log(current, CIL_ERR, "Alias declared but not used"); in cil_resolve_alias_to_actual()
570 cil_log(CIL_ERR, "Circular alias found: %s ", a1->datum.name); in cil_resolve_alias_to_actual()
[all …]
Dcil_post.c618 cil_log(CIL_ERR, "Failed to expand type attribute to bitmap\n"); in __evaluate_type_expression()
644 cil_log(CIL_ERR, "Failed to set type bit\n"); in __cil_type_to_bitmap()
651 cil_log(CIL_ERR, "Failed to set type bit\n"); in __cil_type_to_bitmap()
670 cil_log(CIL_ERR, "Failed to expand user attribute to bitmap\n"); in __evaluate_user_expression()
699 cil_log(CIL_ERR, "Failed to set user bit\n"); in __cil_user_to_bitmap()
718 cil_log(CIL_ERR, "Failed to expand role attribute to bitmap\n"); in __evaluate_role_expression()
743 cil_log(CIL_ERR, "Failed to set role bit\n"); in __cil_role_to_bitmap()
764 cil_log(CIL_ERR, "Failed to expand permissionx expression\n"); in __evaluate_permissionx_expression()
779 cil_log(CIL_ERR, "permissionx value %s not valid number\n", permx_str); in __cil_permx_str_to_int()
783 cil_log(CIL_ERR, "permissionx value %s must be between 0x0000 and 0xFFFF\n", permx_str); in __cil_permx_str_to_int()
[all …]
Dcil_binary.c159 cil_log(CIL_ERR, "Failed to copy user bits\n"); in __cil_expand_user()
166 cil_log(CIL_ERR, "Failed to set user bit\n"); in __cil_expand_user()
185 cil_log(CIL_ERR, "Failed to copy role bits\n"); in __cil_expand_role()
192 cil_log(CIL_ERR, "Failed to set role bit\n"); in __cil_expand_role()
211 cil_log(CIL_ERR, "Failed to copy type bits\n"); in __cil_expand_type()
218 cil_log(CIL_ERR, "Failed to set type bit\n"); in __cil_expand_type()
423 cil_log(CIL_ERR, "Failed to insert role bounds for role %s\n", cil_role->datum.fqn); in cil_role_bounds_to_policydb()
508 cil_log(CIL_ERR, "Failed to insert type bounds for type %s\n", cil_type->datum.fqn); in cil_type_bounds_to_policydb()
729 cil_log(CIL_ERR, "Failed to insert user bounds for user %s\n", cil_user->datum.fqn); in cil_user_bounds_to_policydb()
1021 …cil_log(CIL_ERR, "Conflicting type rules (scontext=%s tcontext=%s tclass=%s result=%s), existing=%… in __cil_insert_type_rule()
[all …]
Dcil_log.c38 static enum cil_log_level cil_log_level = CIL_ERR;
Dcil_mem.c39 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_default_mem_error_handler()
Dcil_fqn.c124 cil_tree_log(child_args.node, CIL_ERR,"Problem qualifying names in block"); in __cil_fqn_qualify_blocks()
Dcil_list.c42 cil_vlog(CIL_ERR, msg, ap); in cil_list_error()
Dcil_symtab.c49 cil_vlog(CIL_ERR, msg, ap); in cil_symtab_error()
Dcil_tree.c57 cil_vlog(CIL_ERR, msg, ap); in cil_tree_error()
407 cil_log(CIL_ERR, "Unknown operator in expression\n"); in cil_expr_to_string()
480 cil_log(CIL_ERR, "Unknown operand in expression\n"); in cil_expr_to_string()
489 cil_log(CIL_ERR, "Unknown flavor in expression\n"); in cil_expr_to_string()
Dcil.c439 cil_log(CIL_ERR, "Failed to generate binary\n"); in cil_build_policydb_pdb()
459 cil_log(CIL_ERR, "Failed to generate binary\n"); in cil_build_policydb()
1666 cil_log(CIL_ERR, "Unknown value for handle-unknown: %i\n", handle_unknown); in cil_set_handle_unknown()
1753 cil_log(CIL_ERR, "Invalid symtab type\n"); in cil_get_symtab()
1793 cil_tree_log(ast_node, CIL_ERR, "Failed to get symtab from node"); in cil_get_symtab()
Dcil_copy_ast.c2018 cil_tree_log(orig, CIL_ERR, "Incompatible flavor when trying to copy %s", DATUM(data)->name); in __cil_copy_node_helper()
2019 cil_tree_log(NODE(data), CIL_ERR, "Note: conflicting declaration"); in __cil_copy_node_helper()
2040 …cil_tree_log(orig, CIL_ERR, "%s %s shadows a macro parameter", cil_node_to_string(new), ((struct c… in __cil_copy_node_helper()
2041 cil_tree_log(namespace, CIL_ERR, "Note: macro declaration"); in __cil_copy_node_helper()
Dcil_find.c386 cil_log(CIL_ERR, "An error occurred while searching for avrule in AST\n"); in cil_find_matching_avrule_in_ast()
Dcil_reset_ast.c567 cil_log(CIL_ERR, "Failed to reset AST\n"); in cil_reset_ast()
/external/selinux/libsepol/cil/include/cil/
Dcil.h60 CIL_ERR = 1, enumerator
/external/selinux/secilc/
Dsecil2conf.c73 enum cil_log_level log_level = CIL_ERR; in main()
Dsecilc.c102 enum cil_log_level log_level = CIL_ERR; in main()