Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/cil/src/
Dcil_verify.c102 cil_log(CIL_ERR, "Name is NULL\n"); in cil_verify_name()
108 cil_log(CIL_ERR, "Name length greater than max name length of %d", in cil_verify_name()
115 cil_log(CIL_ERR, "First character in %s is not a letter\n", name); in cil_verify_name()
122 cil_log(CIL_ERR, "Invalid character \"%c\" in %s\n", name[i], name); in cil_verify_name()
129 cil_log(CIL_ERR, "Invalid character \"%c\" in %s\n", name[i], name); in cil_verify_name()
136 cil_log(CIL_ERR, "Name %s is a reserved word\n", name); in cil_verify_name()
143 cil_log(CIL_ERR, "Invalid name\n"); in cil_verify_name()
184 cil_log(CIL_ERR, "Invalid syntax\n"); in __cil_verify_syntax()
211 cil_log(CIL_ERR,"Invalid operator (%s) for set expression\n", (char*)current->data); in cil_verify_expr_syntax()
217 …cil_log(CIL_ERR,"Invalid operator (%s) for boolean or tunable expression\n", (char*)current->data); in cil_verify_expr_syntax()
[all …]
Dcil_parser.c105 cil_log(CIL_ERR, "Invalid line mark syntax\n"); in add_hll_linemark()
110 cil_log(CIL_ERR, "Invalid line mark syntax\n"); in add_hll_linemark()
115 cil_log(CIL_ERR, "Line mark end without start\n"); in add_hll_linemark()
135 cil_log(CIL_ERR, "Number of active line marks exceeds limit of %d\n", CIL_PARSER_MAX_EXPR_DEPTH); in add_hll_linemark()
151 cil_log(CIL_ERR, "Invalid line mark syntax\n"); in add_hll_linemark()
160 cil_log(CIL_ERR, "Invalid line mark syntax\n"); in add_hll_linemark()
177 cil_log(CIL_ERR, "Invalid line mark syntax\n"); in add_hll_linemark()
189 cil_log(CIL_ERR, "Problem with high-level line mark at line %u of %s\n", tok.line, path); in add_hll_linemark()
250 …cil_log(CIL_ERR, "Number of open parenthesis exceeds limit of %d at line %d of %s\n", CIL_PARSER_M… in cil_parser()
260 cil_log(CIL_ERR, "Close parenthesis without matching open at line %d of %s\n", tok.line, path); in cil_parser()
[all …]
Dcil_build_ast.c122 …cil_log(CIL_ERR, "Re-declaration of %s %s, but previous declaration could not be found\n",cil_node… in cil_add_decl_to_symtab()
128 cil_log(CIL_ERR, "Re-declaration of %s %s\n", in cil_add_decl_to_symtab()
130 cil_tree_log(node, CIL_ERR, "Previous declaration of %s", in cil_add_decl_to_symtab()
207 cil_log(CIL_ERR, "Blocks are not allowed when the option for qualified names is used\n"); in cil_gen_block()
230 cil_tree_log(parse_current, CIL_ERR, "Bad block declaration"); in cil_gen_block()
282 …cil_log(CIL_ERR, "Block inherit rules are not allowed when the option for qualified names is used\… in cil_gen_blockinherit()
301 cil_tree_log(parse_current, CIL_ERR, "Bad blockinherit declaration"); in cil_gen_blockinherit()
344 …cil_log(CIL_ERR, "Block abstract rules are not allowed when the option for qualified names is used… in cil_gen_blockabstract()
363 cil_tree_log(parse_current, CIL_ERR, "Bad blockabstract declaration"); in cil_gen_blockabstract()
395 cil_log(CIL_ERR, "In-statements are not allowed when the option for qualified names is used\n"); in cil_gen_in()
[all …]
Dcil_resolve_ast.c126 cil_log(CIL_ERR, "Failed to resolve permission list\n"); in __cil_resolve_perms()
140 cil_log(CIL_ERR, "Failed to resolve permission %s for map class\n", (char*)curr->data); in __cil_resolve_perms()
142 cil_log(CIL_ERR, "Failed to resolve permission %s\n", (char*)curr->data); in __cil_resolve_perms()
415 cil_log(CIL_ERR, "Type rule result must be a type [%d]\n",result_node->flavor); in cil_resolve_type_rule()
444 cil_log(CIL_ERR, "Attribute type not an attribute\n"); in cil_resolve_typeattributeset()
488 cil_log(CIL_ERR, "Attribute type not an attribute\n"); in cil_resolve_expandtypeattribute()
520 cil_log(CIL_ERR, "%s is not an alias\n",alias_datum->name); in cil_resolve_aliasactual()
531 …cil_log(CIL_ERR, "%s is a %s, but aliases a %s\n", alias_datum->name, cil_node_to_string(NODE(alia… in cil_resolve_aliasactual()
539 …cil_log(CIL_ERR, "%s %s cannot bind more than one value\n", cil_node_to_string(NODE(alias_datum)),… in cil_resolve_aliasactual()
562 cil_tree_log(current, CIL_ERR, "Alias declared but not used"); in cil_resolve_alias_to_actual()
[all …]
Dcil_mem.c45 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_malloc()
56 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_calloc()
70 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_realloc()
88 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_strdup()
105 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_asprintf()
Dcil_post.c881 cil_log(CIL_ERR, "Failed to expand type attribute to bitmap\n"); in __evaluate_type_expression()
907 cil_log(CIL_ERR, "Failed to set type bit\n"); in __cil_type_to_bitmap()
914 cil_log(CIL_ERR, "Failed to set type bit\n"); in __cil_type_to_bitmap()
933 cil_log(CIL_ERR, "Failed to expand user attribute to bitmap\n"); in __evaluate_user_expression()
962 cil_log(CIL_ERR, "Failed to set user bit\n"); in __cil_user_to_bitmap()
981 cil_log(CIL_ERR, "Failed to expand role attribute to bitmap\n"); in __evaluate_role_expression()
1006 cil_log(CIL_ERR, "Failed to set role bit\n"); in __cil_role_to_bitmap()
1027 cil_log(CIL_ERR, "Failed to expand permissionx expression\n"); in __evaluate_permissionx_expression()
1042 cil_log(CIL_ERR, "permissionx value %s not valid number\n", permx_str); in __cil_permx_str_to_int()
1046 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.c154 cil_log(CIL_ERR, "Failed to copy user bits\n"); in __cil_expand_user()
161 cil_log(CIL_ERR, "Failed to set user bit\n"); in __cil_expand_user()
180 cil_log(CIL_ERR, "Failed to copy role bits\n"); in __cil_expand_role()
187 cil_log(CIL_ERR, "Failed to set role bit\n"); in __cil_expand_role()
206 cil_log(CIL_ERR, "Failed to copy type bits\n"); in __cil_expand_type()
213 cil_log(CIL_ERR, "Failed to set type bit\n"); in __cil_expand_type()
418 cil_log(CIL_ERR, "Failed to insert role bounds for role %s\n", cil_role->datum.fqn); in cil_role_bounds_to_policydb()
501 cil_log(CIL_ERR, "Failed to insert type bounds for type %s\n", cil_type->datum.fqn); in cil_type_bounds_to_policydb()
720 cil_log(CIL_ERR, "Failed to insert user bounds for user %s\n", cil_user->datum.fqn); in cil_user_bounds_to_policydb()
1008 …cil_log(CIL_ERR, "Conflicting type rules (scontext=%s tcontext=%s tclass=%s result=%s), existing=%… in __cil_insert_type_rule()
[all …]
Dcil_strpool.c81 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_strpool_add()
105 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_strpool_init()
Dcil.c552 cil_log(CIL_ERR, "Failed to build AST\n"); in cil_compile()
562 cil_log(CIL_ERR, "Failed to resolve AST\n"); in cil_compile()
569 cil_log(CIL_ERR, "Failed to qualify names\n"); in cil_compile()
576 cil_log(CIL_ERR, "Post process failed\n"); in cil_compile()
596 cil_log(CIL_ERR, "Failed to write parse ast\n"); in cil_write_parse_ast()
615 cil_log(CIL_ERR, "Failed to build ast\n"); in cil_write_build_ast()
625 cil_log(CIL_ERR, "Failed to write build ast\n"); in cil_write_build_ast()
644 cil_log(CIL_ERR, "Failed to build ast\n"); in cil_write_resolve_ast()
654 cil_log(CIL_ERR, "Failed to resolve ast\n"); in cil_write_resolve_ast()
661 cil_log(CIL_ERR, "Failed to qualify names\n"); in cil_write_resolve_ast()
[all …]
Dcil_log.c38 static enum cil_log_level cil_log_level = CIL_ERR;
Dcil_copy_ast.c109 cil_tree_log(NODE(orig), CIL_ERR, "Block %s being copied", key); in cil_copy_block()
110 …cil_tree_log(NODE(datum), CIL_ERR, " Conflicts with %s already declared", cil_node_to_string(NODE… in cil_copy_block()
1509 cil_tree_log(NODE(orig), CIL_ERR, "Macro %s being copied", key); in cil_copy_macro()
1510 …cil_tree_log(NODE(datum), CIL_ERR, " Conflicts with %s already declared", cil_node_to_string(NODE… in cil_copy_macro()
2014 cil_log(CIL_ERR, " Re-declaration of macro is only allowed when inheriting a block\n"); in __cil_copy_node_helper()
2032 cil_log(CIL_ERR, " Re-declaration of block is only allowed when inheriting a block\n"); in __cil_copy_node_helper()
2040 cil_tree_log(orig, CIL_ERR, "Incompatible flavor when trying to copy %s", DATUM(data)->name); in __cil_copy_node_helper()
2041 cil_tree_log(NODE(data), CIL_ERR, "Note: conflicting declaration"); in __cil_copy_node_helper()
2096 cil_tree_log(orig, CIL_ERR, "Problem copying %s node", cil_node_to_string(orig)); in __cil_copy_node_helper()
2135 …cil_tree_log(dest, CIL_ERR, "Failed to copy %s to %s", cil_node_to_string(orig), cil_node_to_strin… in cil_copy_ast()
Dcil_fqn.c126 cil_tree_log(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_find.c387 cil_log(CIL_ERR, "An error occurred while searching for avrule in AST\n"); in cil_find_matching_avrule_in_ast()
Dcil_reset_ast.c655 cil_log(CIL_ERR, "Failed to reset AST\n"); in cil_reset_ast()
Dcil_write_ast.c1622 cil_log(CIL_ERR, "Failed to write AST\n"); in cil_write_ast()
/third_party/selinux/libsepol/fuzz/
Dsecilc-fuzzer.c16 enum cil_log_level log_level = CIL_ERR; in LLVMFuzzerTestOneInput()
/third_party/selinux/libsepol/cil/include/cil/
Dcil.h69 CIL_ERR = 1, enumerator
/third_party/selinux/secilc/
Dsecil2conf.c77 enum cil_log_level log_level = CIL_ERR; in main()
Dsecil2tree.c81 enum cil_log_level log_level = CIL_ERR; in main()
Dsecilc.c110 enum cil_log_level log_level = CIL_ERR; in main()