/external/selinux/libsepol/cil/src/ |
cil_tree.c | 38 #include "cil_log.h" 188 cil_log(CIL_INFO, "Problem at line %d of %s\n", node->line, node->path); 225 cil_log(CIL_INFO, "Problem at line %d of %s\n", node->line, node->path); 238 cil_log(CIL_INFO, "Problem at line %d of %s\n",node->line, node->path); 321 cil_log(CIL_ERR, "Unknown operator in expression\n"); 394 cil_log(CIL_ERR, "Unknown operand in expression\n"); 403 cil_log(CIL_ERR, "Unknown flavor in expression\n"); 421 cil_log(CIL_INFO, "("); 429 cil_log(CIL_INFO, "%s)", expr_str); 437 cil_log(CIL_INFO, " %s", ((struct cil_perm *)current_perm->data)->datum.name) [all...] |
cil_verify.c | 42 #include "cil_log.h" 57 cil_log(CIL_ERR, "Name length greater than max name length of %d", 64 cil_log(CIL_ERR, "First character in %s is not a letter\n", name); 70 cil_log(CIL_ERR, "Invalid character \"%c\" in %s\n", name[i], name); 77 cil_log(CIL_ERR, "Invalid name\n"); 143 cil_log(CIL_ERR, "Invalid syntax\n"); 170 cil_log(CIL_ERR,"Invalid operator (%s) for set expression\n", (char*)current->data); 176 cil_log(CIL_ERR,"Invalid operator (%s) for boolean or tunable expression\n", (char*)current->data); 184 cil_log(CIL_ERR,"Operator (%s) only valid for catset and permissionx expression\n", (char*)current->data); 196 cil_log(CIL_ERR,"Unexpected value (%s) for expression operator\n", (char*)current->data) [all...] |
cil_log.h | 38 __attribute__ ((format(printf, 2, 3))) void cil_log(enum cil_log_level lvl, const char *msg, ...);
|
cil_parser.c | 37 #include "cil_log.h" 82 cil_log(CIL_ERR, "Close parenthesis without matching open at line %d of %s\n", tok.line, path); 90 cil_log(CIL_ERR, "Symbol not inside parenthesis at line %d of %s\n", tok.line, path); 113 cil_log(CIL_ERR, "Open parenthesis without matching close at line %d of %s\n", tok.line, path); 121 cil_log(CIL_ERR, "Invalid token '%s' at line %d of %s\n", tok.value, tok.line, path); 124 cil_log(CIL_ERR, "Unknown token type '%d' at line %d of %s\n", tok.type, tok.line, path);
|
cil_fqn.c | 35 #include "cil_log.h" 59 cil_log(CIL_INFO, "Fully qualified name for %s is too long\n", datum->name); 87 cil_log(CIL_INFO, "Fully qualified name for block %s is too long\n", datum->name); 124 cil_log(CIL_ERR,"Problem qualifying names in block at line %d of %s\n", child_args.node->line, child_args.node->path);
|
cil_log.c | 36 #include "cil_log.h" 61 __attribute__ ((format (printf, 2, 3))) void cil_log(enum cil_log_level lvl, const char *msg, ...) function
|
cil_policy.c | 42 #include "cil_log.h" 97 cil_log(CIL_ERR, "Error reading temp policy file\n"); 105 cil_log(CIL_ERR, "Error writing to policy.conf\n"); 185 cil_log(CIL_INFO, "Failed to convert ip address to string\n"); 202 cil_log(CIL_INFO, "Failed to convert mask to string\n"); 321 cil_log(CIL_INFO, "No data in list item\n"); 349 cil_log(CIL_INFO, "No roles associated with user %s\n", 491 cil_log(CIL_ERR, "Unknown operator in expression\n"); 498 cil_log(CIL_ERR, "Unknown flavor in expression\n"); 596 cil_log(CIL_INFO, "Unknown avrule with kind=%d src=%s tgt=%s\n" [all...] |
cil_build_ast.c | 39 #include "cil_log.h" 106 cil_log(CIL_ERR, "Re-declaration of %s %s\n", 111 cil_log(CIL_ERR, "Previous declaration at line %d of %s\n", 127 cil_log(CIL_ERR, "%s %s shadows a macro parameter in macro declaration\n", cil_node_to_string(ast_node), key); 139 cil_log(CIL_ERR, "Failed to create node\n"); 189 cil_log(CIL_ERR, "Bad block declaration at line %d of %s\n", 239 cil_log(CIL_ERR, "Bad blockinherit declaration at line %d of %s\n", 284 cil_log(CIL_ERR, "Bad blockabstract declaration at line %d of %s\n", 329 cil_log(CIL_ERR, "Bad in statement at line %d of %s\n", 369 cil_log(CIL_ERR, "'unordered' keyword is reserved and not a valid class name.\n") [all...] |
cil_resolve_ast.c | 38 #include "cil_log.h" 121 cil_log(CIL_ERR, "Failed to resolve permission list\n"); 134 cil_log(CIL_ERR, "Failed to resolve permission %s\n", (char*)curr->data); 394 cil_log(CIL_ERR, "Type rule result must be a type [%d]\n",result_node->flavor); 423 cil_log(CIL_ERR, "Attribute type not an attribute\n"); 477 cil_log(CIL_ERR, "Alias cannot bind more than one value\n"); 500 cil_log(CIL_ERR, "Alias declared but not used at line %d of %s\n",current->line, current->path); 512 cil_log(CIL_ERR, "Circular alias found: %s ", a1->datum.name); 515 cil_log(CIL_ERR, "%s ", a1->datum.name); 518 cil_log(CIL_ERR,"\n") [all...] |
cil_post.c | 41 #include "cil_log.h" 615 cil_log(CIL_ERR, "Failed to expand type attribute to bitmap\n"); 641 cil_log(CIL_ERR, "Failed to set type bit\n"); 648 cil_log(CIL_ERR, "Failed to set type bit\n"); 667 cil_log(CIL_ERR, "Failed to expand user attribute to bitmap\n"); 696 cil_log(CIL_ERR, "Failed to set user bit\n"); 715 cil_log(CIL_ERR, "Failed to expand role attribute to bitmap\n"); 740 cil_log(CIL_ERR, "Failed to set role bit\n"); 761 cil_log(CIL_ERR, "Failed to expand permissionx expression\n"); 776 cil_log(CIL_ERR, "permissionx value %s not valid number\n", permx_str) [all...] |
cil_binary.c | 45 #include "cil_log.h" 85 cil_log(CIL_INFO, "Failed to find user %s in sepol hashtab\n", datum->fqn); 96 cil_log(CIL_INFO, "Failed to find role %s in sepol hashtab\n", datum->fqn); 107 cil_log(CIL_INFO, "Failed to find type %s in sepol hashtab\n", datum->fqn); 118 cil_log(CIL_INFO, "Failed to find class %s in sepol hashtab\n", datum->fqn); 129 cil_log(CIL_INFO, "Failed to find category %s in sepol hashtab\n", datum->fqn); 140 cil_log(CIL_INFO, "Failed to find level %s in sepol hashtab\n", datum->fqn); 156 cil_log(CIL_ERR, "Failed to copy user bits\n"); 163 cil_log(CIL_ERR, "Failed to set user bit\n"); 182 cil_log(CIL_ERR, "Failed to copy role bits\n") [all...] |
cil_mem.c | 35 #include "cil_log.h" 39 cil_log(CIL_ERR, "Failed to allocate memory\n");
|
cil_copy_ast.c | 35 #include "cil_log.h" 242 cil_log(CIL_INFO, "cil_copy_class: class cannot be redefined\n"); 280 cil_log(CIL_INFO, "classpermission cannot be redefined\n"); 660 cil_log(CIL_INFO, "cil_copy_alias: alias cannot be redefined\n"); 754 cil_log(CIL_INFO, "cil_copy_bool: boolean cannot be redefined\n"); 774 cil_log(CIL_INFO, "cil_copy_tunable: tunable cannot be redefined\n"); 830 cil_log(CIL_INFO, "cil_copy_permissionx: permissionx cannot be redefined\n"); 912 cil_log(CIL_INFO, "cil_copy_catset: categoryset cannot be redefined\n"); 992 cil_log(CIL_INFO, "cil_copy_level: level cannot be redefined\n"); 1029 cil_log(CIL_INFO, "cil_copy_levelrange: levelrange cannot be redefined\n") [all...] |
cil.c | 38 #include "cil_log.h" 348 cil_log(CIL_INFO, "Parsing %s\n", name); 356 cil_log(CIL_INFO, "Failed to parse %s\n", name); 383 cil_log(CIL_INFO, "Building AST from Parse Tree\n"); 386 cil_log(CIL_INFO, "Failed to build ast\n"); 390 cil_log(CIL_INFO, "Destroying Parse Tree\n"); 393 cil_log(CIL_INFO, "Resolving AST\n"); 396 cil_log(CIL_INFO, "Failed to resolve ast\n"); 400 cil_log(CIL_INFO, "Qualifying Names\n"); 403 cil_log(CIL_INFO, "Failed to qualify names\n") [all...] |
cil_find.c | 35 #include "cil_log.h" 382 cil_log(CIL_ERR, "An error occured while searching for avrule in AST\n");
|
cil_reset_ast.c | 3 #include "cil_log.h" 566 cil_log(CIL_ERR, "Failed to reset AST\n");
|
/external/selinux/libsepol/cil/include/cil/ |
cil.h | 67 extern void cil_log(enum cil_log_level lvl, const char *msg, ...);
|
/external/selinux/libsepol/ |
Android.mk | 53 cil/src/cil_log.c \
|