/external/selinux/libsepol/cil/src/ |
D | cil_verify.c | 57 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 …]
|
D | cil_parser.c | 113 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() 257 cil_log(CIL_ERR, "Symbol not inside parenthesis at line %d of %s\n", tok.line, path); in cil_parser() 283 cil_log(CIL_ERR, "Open parenthesis without matching close at line %d of %s\n", tok.line, path); in cil_parser() [all …]
|
D | android.c | 87 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() 294 cil_log(CIL_ERR, "AST already resolved. Not yet supported.\n"); in cil_attrib_type_expr() 314 cil_log(CIL_ERR, "AST already resolved. Not yet supported.\n"); in cil_attrib_check_context() 365 cil_log(CIL_ERR, "AST already resolved. !!! Not yet supported.\n"); in cil_attrib_roletype() 385 cil_log(CIL_ERR, "AST already resolved. !!! Not yet supported.\n"); in cil_attrib_type() 406 cil_log(CIL_ERR, "AST already resolved. ### Not yet supported.\n"); in cil_attrib_typepermissive() 420 cil_log(CIL_ERR, "AST already resolved. Not yet supported (line %d).\n", in cil_attrib_typeattribute() [all …]
|
D | cil_mem.c | 44 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_malloc() 55 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_calloc() 69 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_realloc() 87 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_strdup() 104 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_asprintf()
|
D | cil_build_ast.c | 134 cil_log(CIL_ERR, "Re-declaration of %s %s\n", in cil_gen_node() 139 cil_tree_log(node, CIL_ERR, "Previous declaration"); in cil_gen_node() 160 …cil_log(CIL_ERR, "%s %s shadows a macro parameter in macro declaration\n", cil_node_to_string(ast_… in cil_gen_node() 172 cil_log(CIL_ERR, "Failed to create node\n"); in cil_gen_node() 222 cil_tree_log(parse_current, CIL_ERR, "Bad block declaration"); in cil_gen_block() 271 cil_tree_log(parse_current, CIL_ERR, "Bad blockinherit declaration"); in cil_gen_blockinherit() 315 cil_tree_log(parse_current, CIL_ERR, "Bad blockabstract declaration"); in cil_gen_blockabstract() 359 cil_tree_log(parse_current, CIL_ERR, "Bad in statement"); in cil_gen_in() 398 cil_log(CIL_ERR, "'unordered' keyword is reserved and not a valid class name.\n"); in cil_gen_class() 415 cil_tree_log(parse_current, CIL_ERR, "Too many permissions in class '%s'", class->datum.name); in cil_gen_class() [all …]
|
D | cil_write_ast.c | 69 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 …]
|
D | cil_resolve_ast.c | 121 cil_log(CIL_ERR, "Failed to resolve permission list\n"); in __cil_resolve_perms() 135 cil_log(CIL_ERR, "Failed to resolve permission %s for map class\n", (char*)curr->data); in __cil_resolve_perms() 137 cil_log(CIL_ERR, "Failed to resolve permission %s\n", (char*)curr->data); in __cil_resolve_perms() 400 cil_log(CIL_ERR, "Type rule result must be a type [%d]\n",result_node->flavor); in cil_resolve_type_rule() 429 cil_log(CIL_ERR, "Attribute type not an attribute\n"); in cil_resolve_typeattributeset() 478 cil_log(CIL_ERR, "Attribute type not an attribute\n"); in cil_resolve_expandtypeattribute() 510 cil_log(CIL_ERR, "%s is not an alias\n",alias_datum->name); in cil_resolve_aliasactual() 521 …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() 529 …cil_log(CIL_ERR, "%s %s cannot bind more than one value\n", cil_node_to_string(NODE(alias_datum)),… in cil_resolve_aliasactual() 552 cil_tree_log(current, CIL_ERR, "Alias declared but not used"); in cil_resolve_alias_to_actual() [all …]
|
D | cil_post.c | 867 cil_log(CIL_ERR, "Failed to expand type attribute to bitmap\n"); in __evaluate_type_expression() 893 cil_log(CIL_ERR, "Failed to set type bit\n"); in __cil_type_to_bitmap() 900 cil_log(CIL_ERR, "Failed to set type bit\n"); in __cil_type_to_bitmap() 919 cil_log(CIL_ERR, "Failed to expand user attribute to bitmap\n"); in __evaluate_user_expression() 948 cil_log(CIL_ERR, "Failed to set user bit\n"); in __cil_user_to_bitmap() 967 cil_log(CIL_ERR, "Failed to expand role attribute to bitmap\n"); in __evaluate_role_expression() 992 cil_log(CIL_ERR, "Failed to set role bit\n"); in __cil_role_to_bitmap() 1013 cil_log(CIL_ERR, "Failed to expand permissionx expression\n"); in __evaluate_permissionx_expression() 1028 cil_log(CIL_ERR, "permissionx value %s not valid number\n", permx_str); in __cil_permx_str_to_int() 1032 cil_log(CIL_ERR, "permissionx value %s must be between 0x0000 and 0xFFFF\n", permx_str); in __cil_permx_str_to_int() [all …]
|
D | cil_binary.c | 158 cil_log(CIL_ERR, "Failed to copy user bits\n"); in __cil_expand_user() 165 cil_log(CIL_ERR, "Failed to set user bit\n"); in __cil_expand_user() 184 cil_log(CIL_ERR, "Failed to copy role bits\n"); in __cil_expand_role() 191 cil_log(CIL_ERR, "Failed to set role bit\n"); in __cil_expand_role() 210 cil_log(CIL_ERR, "Failed to copy type bits\n"); in __cil_expand_type() 217 cil_log(CIL_ERR, "Failed to set type bit\n"); in __cil_expand_type() 422 cil_log(CIL_ERR, "Failed to insert role bounds for role %s\n", cil_role->datum.fqn); in cil_role_bounds_to_policydb() 505 cil_log(CIL_ERR, "Failed to insert type bounds for type %s\n", cil_type->datum.fqn); in cil_type_bounds_to_policydb() 724 cil_log(CIL_ERR, "Failed to insert user bounds for user %s\n", cil_user->datum.fqn); in cil_user_bounds_to_policydb() 1012 …cil_log(CIL_ERR, "Conflicting type rules (scontext=%s tcontext=%s tclass=%s result=%s), existing=%… in __cil_insert_type_rule() [all …]
|
D | cil_strpool.c | 83 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_strpool_add() 107 cil_log(CIL_ERR, "Failed to allocate memory\n"); in cil_strpool_init()
|
D | cil_log.c | 38 static enum cil_log_level cil_log_level = CIL_ERR;
|
D | cil_fqn.c | 124 cil_tree_log(node, CIL_ERR,"Problem qualifying names in block"); in __cil_fqn_qualify_blocks()
|
D | cil_list.c | 42 cil_vlog(CIL_ERR, msg, ap); in cil_list_error()
|
D | cil_symtab.c | 49 cil_vlog(CIL_ERR, msg, ap); in cil_symtab_error()
|
D | cil_tree.c | 57 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()
|
D | cil.c | 609 cil_log(CIL_ERR, "Failed to generate binary\n"); in cil_build_policydb_pdb() 629 cil_log(CIL_ERR, "Failed to generate binary\n"); in cil_build_policydb() 1846 cil_log(CIL_ERR, "Unknown value for handle-unknown: %i\n", handle_unknown); in cil_set_handle_unknown() 1938 cil_log(CIL_ERR, "Invalid symtab type\n"); in cil_get_symtab() 1978 cil_tree_log(ast_node, CIL_ERR, "Failed to get symtab from node"); in cil_get_symtab()
|
D | cil_find.c | 386 cil_log(CIL_ERR, "An error occurred while searching for avrule in AST\n"); in cil_find_matching_avrule_in_ast()
|
D | cil_reset_ast.c | 587 cil_log(CIL_ERR, "Failed to reset AST\n"); in cil_reset_ast()
|
D | cil_copy_ast.c | 2069 cil_tree_log(orig, CIL_ERR, "Incompatible flavor when trying to copy %s", DATUM(data)->name); in __cil_copy_node_helper() 2070 cil_tree_log(NODE(data), CIL_ERR, "Note: conflicting declaration"); in __cil_copy_node_helper() 2091 …cil_tree_log(orig, CIL_ERR, "%s %s shadows a macro parameter", cil_node_to_string(new), ((struct c… in __cil_copy_node_helper() 2092 cil_tree_log(namespace, CIL_ERR, "Note: macro declaration"); in __cil_copy_node_helper()
|
/external/oss-fuzz/projects/selinux/ |
D | secilc-fuzzer.c | 30 enum cil_log_level log_level = CIL_ERR; in LLVMFuzzerTestOneInput()
|
/external/selinux/libsepol/cil/include/cil/ |
D | cil.h | 65 CIL_ERR = 1, enumerator
|
/external/selinux/secilc/ |
D | secil2conf.c | 73 enum cil_log_level log_level = CIL_ERR; in main()
|
D | secilc.c | 106 enum cil_log_level log_level = CIL_ERR; in main()
|
/external/selinux/policycoreutils/semodule/ |
D | semodule.c | 354 cil_set_log_level(CIL_ERR + verbose); in main()
|