Home
last modified time | relevance | path

Searched refs:cil_log (Results 1 – 19 of 19) sorted by relevance

/third_party/selinux/libsepol/cil/src/
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()
250cil_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_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()
217cil_log(CIL_ERR,"Invalid operator (%s) for boolean or tunable expression\n", (char*)current->data); in cil_verify_expr_syntax()
[all …]
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_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_binary.c83 cil_log(CIL_INFO, "Failed to find user %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_user_datum()
94 cil_log(CIL_INFO, "Failed to find role %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_role_datum()
105 cil_log(CIL_INFO, "Failed to find type %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_type_datum()
116 cil_log(CIL_INFO, "Failed to find class %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_class_datum()
127 cil_log(CIL_INFO, "Failed to find category %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_cat_datum()
138 cil_log(CIL_INFO, "Failed to find level %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_level_datum()
154 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()
[all …]
Dcil.c518 cil_log(CIL_INFO, "Parsing %s\n", name); in cil_add_file()
526 cil_log(CIL_INFO, "Failed to parse %s\n", name); in cil_add_file()
549 cil_log(CIL_INFO, "Building AST from Parse Tree\n"); in cil_compile()
552 cil_log(CIL_ERR, "Failed to build AST\n"); in cil_compile()
556 cil_log(CIL_INFO, "Destroying Parse Tree\n"); in cil_compile()
559 cil_log(CIL_INFO, "Resolving AST\n"); in cil_compile()
562 cil_log(CIL_ERR, "Failed to resolve AST\n"); in cil_compile()
566 cil_log(CIL_INFO, "Qualifying Names\n"); in cil_compile()
569 cil_log(CIL_ERR, "Failed to qualify names\n"); in cil_compile()
573 cil_log(CIL_INFO, "Compile post process\n"); in cil_compile()
[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()
287 cil_log(CIL_WARN, "Conflicting use of expandtypeattribute. " in cil_type_used()
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()
531cil_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()
539cil_log(CIL_ERR, "%s %s cannot bind more than one value\n", cil_node_to_string(NODE(alias_datum)),… in cil_resolve_aliasactual()
[all …]
Dcil_build_ast.c122cil_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()
207 cil_log(CIL_ERR, "Blocks are not allowed when the option for qualified names is used\n"); in cil_gen_block()
282cil_log(CIL_ERR, "Block inherit rules are not allowed when the option for qualified names is used\… in cil_gen_blockinherit()
344cil_log(CIL_ERR, "Block abstract rules are not allowed when the option for qualified names is used… 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()
413 cil_log(CIL_ERR, "Value must be either \'before\' or \'after\'\n"); in cil_gen_in()
467 cil_log(CIL_ERR, "'unordered' keyword is reserved and not a valid class name.\n"); in cil_gen_class()
546 cil_log(CIL_ERR, "Classorder 'unordered' keyword must be followed by one or more class.\n"); in cil_gen_classorder()
550cil_log(CIL_ERR, "Classorder can only use 'unordered' keyword as the first item in the list.\n"); in cil_gen_classorder()
[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_fqn.c60 cil_log(CIL_INFO, "Fully qualified name for %s is too long\n", datum->name); in __cil_fqn_qualify_decls()
89 cil_log(CIL_INFO, "Fully qualified name for block %s is too long\n", datum->name); in __cil_fqn_qualify_blocks()
Dcil_tree.c128 cil_log(lvl, " at %s:%u", path, node->line); in cil_tree_log()
144 cil_log(lvl," from %s:%u", path, hll_line); in cil_tree_log()
149 cil_log(lvl,"\n"); in cil_tree_log()
Dcil_copy_ast.c251 cil_log(CIL_INFO, "cil_copy_class: class cannot be redefined\n"); in cil_copy_class()
289 cil_log(CIL_INFO, "classpermission cannot be redefined\n"); in cil_copy_classpermission()
675 cil_log(CIL_INFO, "cil_copy_alias: alias cannot be redefined\n"); in cil_copy_alias()
769 cil_log(CIL_INFO, "cil_copy_bool: boolean cannot be redefined\n"); in cil_copy_bool()
789 cil_log(CIL_INFO, "cil_copy_tunable: tunable cannot be redefined\n"); in cil_copy_tunable()
845 cil_log(CIL_INFO, "cil_copy_permissionx: permissionx cannot be redefined\n"); in cil_copy_permissionx()
927 cil_log(CIL_INFO, "cil_copy_catset: categoryset cannot be redefined\n"); in cil_copy_catset()
1007 cil_log(CIL_INFO, "cil_copy_level: level cannot be redefined\n"); in cil_copy_level()
1044 cil_log(CIL_INFO, "cil_copy_levelrange: levelrange cannot be redefined\n"); in cil_copy_levelrange()
1081 cil_log(CIL_INFO, "cil_copy_context: context cannot be redefined\n"); in cil_copy_context()
[all …]
Dcil_log.h39 __attribute__ ((format(printf, 2, 3))) void cil_log(enum cil_log_level lvl, const char *msg, ...);
Dcil_log.c66 __attribute__ ((format (printf, 2, 3))) void cil_log(enum cil_log_level lvl, const char *msg, ...) in cil_log() function
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/cil/include/cil/
Dcil.h79 extern void cil_log(enum cil_log_level lvl, const char *msg, ...);
/third_party/selinux/
DBUILD.gn66 "$LIBSEPOL_ROOT_DIR/cil/src/cil_log.c",