HomeSort by relevance Sort by last modified time
    Searched full:cil_log (Results 1 - 25 of 25) sorted by null

  /external/selinux/libsepol/cil/src/
cil_tree.c 38 #include "cil_log.h"
132 cil_log(lvl, " at %s:%d", path, node->line);
138 cil_log(lvl," from %s:%d", path, hll_line);
145 cil_log(lvl,"\n");
407 cil_log(CIL_ERR, "Unknown operator in expression\n");
480 cil_log(CIL_ERR, "Unknown operand in expression\n");
489 cil_log(CIL_ERR, "Unknown flavor in expression\n");
507 cil_log(CIL_INFO, "(");
515 cil_log(CIL_INFO, "%s)", expr_str);
523 cil_log(CIL_INFO, " %s", ((struct cil_perm *)current_perm->data)->datum.name)
    [all...]
cil_parser.c 37 #include "cil_log.h"
113 cil_log(CIL_ERR, "Line mark end without start\n");
134 cil_log(CIL_ERR, "Invalid line mark syntax\n");
140 cil_log(CIL_ERR, "Invalid line mark syntax\n");
145 cil_log(CIL_ERR, "Problem parsing line number for line mark\n");
153 cil_log(CIL_ERR, "Invalid line mark syntax\n");
170 cil_log(CIL_ERR, "Invalid line mark syntax\n");
177 cil_log(CIL_ERR, "Problem with high-level line mark at line %d of %s\n", tok.line, path);
246 cil_log(CIL_ERR, "Close parenthesis without matching open at line %d of %s\n", tok.line, path);
257 cil_log(CIL_ERR, "Symbol not inside parenthesis at line %d of %s\n", tok.line, path)
    [all...]
android.c 87 cil_log(CIL_ERR, "%s unsupported statement in attributee policy (line %d)\n",
112 cil_log(CIL_ERR, "%s unsupported statement in attributee policy (line %d)\n",
117 cil_log(CIL_ERR, "%s unsupported statement in attributee policy (line %d)\n",
123 cil_log(CIL_ERR, "%s unsupported statement in attributee policy (line %d)\n",
294 cil_log(CIL_ERR, "AST already resolved. Not yet supported.\n");
314 cil_log(CIL_ERR, "AST already resolved. Not yet supported.\n");
321 cil_log(CIL_ERR, "AST contains context with platform public type: %s\n",
365 cil_log(CIL_ERR, "AST already resolved. !!! Not yet supported.\n");
385 cil_log(CIL_ERR, "AST already resolved. !!! Not yet supported.\n");
406 cil_log(CIL_ERR, "AST already resolved. ### Not yet supported.\n")
    [all...]
cil_verify.c 42 #include "cil_log.h"
57 cil_log(CIL_ERR, "Name is NULL\n");
63 cil_log(CIL_ERR, "Name length greater than max name length of %d",
70 cil_log(CIL_ERR, "First character in %s is not a letter\n", name);
76 cil_log(CIL_ERR, "Invalid character \"%c\" in %s\n", name[i], name);
83 cil_log(CIL_ERR, "Invalid name\n");
149 cil_log(CIL_ERR, "Invalid syntax\n");
176 cil_log(CIL_ERR,"Invalid operator (%s) for set expression\n", (char*)current->data);
182 cil_log(CIL_ERR,"Invalid operator (%s) for boolean or tunable expression\n", (char*)current->data);
190 cil_log(CIL_ERR,"Operator (%s) only valid for catset and permissionx expression\n", (char*)current->data)
    [all...]
cil_post.c 41 #include "cil_log.h"
867 cil_log(CIL_ERR, "Failed to expand type attribute to bitmap\n");
893 cil_log(CIL_ERR, "Failed to set type bit\n");
900 cil_log(CIL_ERR, "Failed to set type bit\n");
919 cil_log(CIL_ERR, "Failed to expand user attribute to bitmap\n");
948 cil_log(CIL_ERR, "Failed to set user bit\n");
967 cil_log(CIL_ERR, "Failed to expand role attribute to bitmap\n");
992 cil_log(CIL_ERR, "Failed to set role bit\n");
1013 cil_log(CIL_ERR, "Failed to expand permissionx expression\n");
1028 cil_log(CIL_ERR, "permissionx value %s not valid number\n", permx_str)
    [all...]
cil_write_ast.c 5 #include "cil_log.h"
69 cil_log(CIL_ERR, "OOM. Unable to copy string.\n");
79 cil_log(CIL_ERR, "OOM. Unable to copy string.\n");
125 cil_log(CIL_ERR, "Unknown operator in expression: %d\n", op_flavor);
204 cil_log(CIL_ERR, "Unknown operand in expression\n");
210 cil_log(CIL_ERR, "OOM. Unable to copy string.\n");
219 cil_log(CIL_ERR, "Unknown flavor in expression\n");
283 cil_log(CIL_ERR, "Error unpacking and writing level\n");
289 cil_log(CIL_ERR, "Error unpacking and writing level\n");
307 cil_log(CIL_ERR, "OOM. Unable to copy level string.\n")
    [all...]
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);
cil_lexer.l 35 #include "cil_log.h"
73 cil_log(CIL_INFO, "Lexer failed to setup buffer\n");
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_mem.c 35 #include "cil_log.h"
39 cil_log(CIL_ERR, "Failed to allocate memory\n");
cil_binary.c 48 #include "cil_log.h"
88 cil_log(CIL_INFO, "Failed to find user %s in sepol hashtab\n", datum->fqn);
99 cil_log(CIL_INFO, "Failed to find role %s in sepol hashtab\n", datum->fqn);
110 cil_log(CIL_INFO, "Failed to find type %s in sepol hashtab\n", datum->fqn);
121 cil_log(CIL_INFO, "Failed to find class %s in sepol hashtab\n", datum->fqn);
132 cil_log(CIL_INFO, "Failed to find category %s in sepol hashtab\n", datum->fqn);
143 cil_log(CIL_INFO, "Failed to find level %s in sepol hashtab\n", datum->fqn);
159 cil_log(CIL_ERR, "Failed to copy user bits\n");
166 cil_log(CIL_ERR, "Failed to set user bit\n");
185 cil_log(CIL_ERR, "Failed to copy role bits\n")
    [all...]
cil_resolve_ast.c 38 #include "cil_log.h"
121 cil_log(CIL_ERR, "Failed to resolve permission list\n");
136 cil_log(CIL_ERR, "Failed to resolve permission %s for map class\n", (char*)curr->data);
139 cil_log(CIL_WARN, "Failed to resolve permission %s\n", (char*)curr->data);
281 cil_log(CIL_WARN, "Conflicting use of expandtypeattribute. "
404 cil_log(CIL_ERR, "Type rule result must be a type [%d]\n",result_node->flavor);
433 cil_log(CIL_ERR, "Attribute type not an attribute\n");
482 cil_log(CIL_ERR, "Attribute type not an attribute\n");
514 cil_log(CIL_ERR, "%s is not an alias\n",alias_datum->name);
525 cil_log(CIL_ERR, "%s is a %s, but aliases a %s\n", alias_datum->name, cil_node_to_string(NODE(alias_datum) (…)
    [all...]
cil_build_ast.c 39 #include "cil_log.h"
134 cil_log(CIL_ERR, "Re-declaration of %s %s\n",
160 cil_log(CIL_ERR, "%s %s shadows a macro parameter in macro declaration\n", cil_node_to_string(ast_node), key);
172 cil_log(CIL_ERR, "Failed to create node\n");
398 cil_log(CIL_ERR, "'unordered' keyword is reserved and not a valid class name.\n");
475 cil_log(CIL_ERR, "Classorder 'unordered' keyword must be followed by one or more class.\n");
479 cil_log(CIL_ERR, "Classorder can only use 'unordered' keyword as the first item in the list.\n");
520 cil_log(CIL_ERR, "Bad permission\n");
587 cil_log(CIL_ERR, "Bad permissions\n");
615 cil_log(CIL_ERR, "Bad permission list or expression\n")
    [all...]
cil_log.h 39 __attribute__ ((format(printf, 2, 3))) void cil_log(enum cil_log_level lvl, const char *msg, ...);
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");
683 cil_log(CIL_INFO, "cil_copy_alias: alias cannot be redefined\n");
777 cil_log(CIL_INFO, "cil_copy_bool: boolean cannot be redefined\n");
797 cil_log(CIL_INFO, "cil_copy_tunable: tunable cannot be redefined\n");
853 cil_log(CIL_INFO, "cil_copy_permissionx: permissionx cannot be redefined\n");
935 cil_log(CIL_INFO, "cil_copy_catset: categoryset cannot be redefined\n");
1015 cil_log(CIL_INFO, "cil_copy_level: level cannot be redefined\n");
1052 cil_log(CIL_INFO, "cil_copy_levelrange: levelrange cannot be redefined\n")
    [all...]
cil.c 38 #include "cil_log.h"
361 cil_log(CIL_INFO, "Parsing %s\n", name);
369 cil_log(CIL_INFO, "Failed to parse %s\n", name);
396 cil_log(CIL_INFO, "Building AST from Parse Tree\n");
399 cil_log(CIL_INFO, "Failed to build ast\n");
403 cil_log(CIL_INFO, "Destroying Parse Tree\n");
406 cil_log(CIL_INFO, "Resolving AST\n");
409 cil_log(CIL_INFO, "Failed to resolve ast\n");
413 cil_log(CIL_INFO, "Qualifying Names\n");
416 cil_log(CIL_INFO, "Failed to qualify names\n")
    [all...]
cil_stack.c 33 #include "cil_log.h"
cil_strpool.c 37 #include "cil_log.h"
cil_find.c 35 #include "cil_log.h"
386 cil_log(CIL_ERR, "An error occurred while searching for avrule in AST\n");
cil_reset_ast.c 3 #include "cil_log.h"
587 cil_log(CIL_ERR, "Failed to reset AST\n");
cil_list.c 35 #include "cil_log.h"
cil_symtab.c 43 #include "cil_log.h"
  /external/selinux/libsepol/
Android.bp 68 "cil/src/cil_log.c",
  /external/selinux/libsepol/cil/include/cil/
cil.h 75 extern void cil_log(enum cil_log_level lvl, const char *msg, ...);
  /external/selinux/libsepol/cil/test/unit/
AllTests.c 32 #include "../../src/cil_log.h"

Completed in 638 milliseconds