Home
last modified time | relevance | path

Searched refs:cil_tree_log (Results 1 – 9 of 9) sorted by relevance

/third_party/selinux/libsepol/cil/src/
Dcil_verify.c375 cil_tree_log(current, CIL_ERR, "Expected true or false block in conditional"); in cil_verify_conditional_blocks()
383 cil_tree_log(current, CIL_ERR, "More than one true block in conditional"); in cil_verify_conditional_blocks()
388 cil_tree_log(current, CIL_ERR, "More than one false block in conditional"); in cil_verify_conditional_blocks()
392 cil_tree_log(current, CIL_ERR, "Expected true or false block in conditional"); in cil_verify_conditional_blocks()
453 cil_tree_log(NODE(datum), CIL_ERR, "Self-reference found for %s", datum->name); in cil_verify_no_self_reference()
534 cil_tree_log(node, CIL_ERR, "SID %s not in sidorder statement", sid->datum.name); in __cil_verify_ordered_node_helper()
540 cil_tree_log(node, CIL_ERR, "Class %s not in classorder statement", class->datum.name); in __cil_verify_ordered_node_helper()
546 cil_tree_log(node, CIL_ERR, "Category %s not in categoryorder statement", cat->datum.name); in __cil_verify_ordered_node_helper()
552cil_tree_log(node, CIL_ERR, "Sensitivity %s not in sensitivityorder statement", sens->datum.name); in __cil_verify_ordered_node_helper()
587cil_tree_log(node, CIL_INFO, "No context assigned to SID %s, omitting from policy",sid->datum.name… in __cil_verify_initsids()
[all …]
Dcil_build_ast.c130 cil_tree_log(node, CIL_ERR, "Previous declaration of %s", in cil_add_decl_to_symtab()
230 cil_tree_log(parse_current, CIL_ERR, "Bad block declaration"); in cil_gen_block()
301 cil_tree_log(parse_current, CIL_ERR, "Bad blockinherit declaration"); in cil_gen_blockinherit()
363 cil_tree_log(parse_current, CIL_ERR, "Bad blockabstract declaration"); in cil_gen_blockabstract()
428 cil_tree_log(parse_current, CIL_ERR, "Bad in-statement"); in cil_gen_in()
484 cil_tree_log(parse_current, CIL_ERR, "Too many permissions in class '%s'", class->datum.name); in cil_gen_class()
495 cil_tree_log(parse_current, CIL_ERR, "Bad class declaration"); in cil_gen_class()
563 cil_tree_log(parse_current, CIL_ERR, "Bad classorder declaration"); in cil_gen_classorder()
842 cil_tree_log(parse_current, CIL_ERR, "Bad classpermission declaration"); in cil_gen_classpermission()
903 cil_tree_log(parse_current, CIL_ERR, "Bad classpermissionset"); in cil_gen_classpermissionset()
[all …]
Dcil_resolve_ast.c556 cil_tree_log(current, CIL_ERR, "Alias declared but not used"); in cil_resolve_alias_to_actual()
564cil_tree_log(current, CIL_ERR, "Alias %s references an unused alias %s", alias->datum.name, a1->da… in cil_resolve_alias_to_actual()
777cil_tree_log(current, CIL_ERR, "Too many permissions in class '%s' when including common permissio… in cil_resolve_classcommon()
1436 cil_tree_log(ordered_list->node, CIL_ERR, "Unable to merge ordered list"); in __cil_ordered_lists_merge_all()
2431 cil_tree_log(current, CIL_ERR, "Multiple optional blocks referred to by in-statement"); in cil_resolve_in()
2432 cil_tree_log(block_node, CIL_ERR, "First optional block"); in cil_resolve_in()
2440 cil_tree_log(current, CIL_ERR, "Failed to copy in-statement"); in cil_resolve_in()
2492 cil_tree_log(last_failed_node, CIL_ERR, "Failed to resolve in-statement"); in cil_resolve_in_list()
2545 cil_tree_log(NODE(user->bounds), CIL_ERR, "User %s already bound by parent", bounds->child_str); in cil_resolve_bounds()
2557 cil_tree_log(NODE(role->bounds), CIL_ERR, "Role %s already bound by parent", bounds->child_str); in cil_resolve_bounds()
[all …]
Dcil_tree.c122 __attribute__((format (printf, 3, 4))) void cil_tree_log(struct cil_tree_node *node, enum cil_log_l… in cil_tree_log() function
290 cil_tree_log(node, CIL_INFO, "Problem"); in cil_tree_walk_core()
327 cil_tree_log(node, CIL_INFO, "Problem"); in cil_tree_walk()
340 cil_tree_log(node, CIL_INFO, "Problem"); in cil_tree_walk()
Dcil_tree.h55 __attribute__((format (printf, 3, 4))) void cil_tree_log(struct cil_tree_node *node, enum cil_log_l…
Dcil_copy_ast.c109 cil_tree_log(NODE(orig), CIL_ERR, "Block %s being copied", key); in cil_copy_block()
110cil_tree_log(NODE(datum), CIL_ERR, " Conflicts with %s already declared", cil_node_to_string(NODE… in cil_copy_block()
113 cil_tree_log(NODE(orig), CIL_WARN, "Block %s being copied", key); in cil_copy_block()
114 cil_tree_log(NODE(datum), CIL_WARN, " Previously declared"); in cil_copy_block()
1509 cil_tree_log(NODE(orig), CIL_ERR, "Macro %s being copied", key); in cil_copy_macro()
1510cil_tree_log(NODE(datum), CIL_ERR, " Conflicts with %s already declared", cil_node_to_string(NODE… in cil_copy_macro()
1513 cil_tree_log(NODE(orig), CIL_WARN, "Skipping macro %s", key); in cil_copy_macro()
1514 cil_tree_log(NODE(datum), CIL_WARN, " Previously declared"); in cil_copy_macro()
2034 cil_tree_log(orig, CIL_ERR, "Incompatible flavor when trying to copy %s", DATUM(data)->name); in __cil_copy_node_helper()
2035 cil_tree_log(NODE(data), CIL_ERR, "Note: conflicting declaration"); in __cil_copy_node_helper()
[all …]
Dcil_fqn.c126 cil_tree_log(node, CIL_ERR,"Problem qualifying names in block"); in __cil_fqn_qualify_blocks()
Dcil_binary.c1905 cil_tree_log(node, CIL_ERR,"Invalid typetransition statement"); in __cil_cond_to_policydb_helper()
1910 cil_tree_log(node, CIL_ERR, "Failed to insert type transition into avtab"); in __cil_cond_to_policydb_helper()
1918 cil_tree_log(node, CIL_ERR, "Failed to insert typerule into avtab"); in __cil_cond_to_policydb_helper()
1926 cil_tree_log(node, CIL_ERR, "Failed to insert avrule into avtab"); in __cil_cond_to_policydb_helper()
1934 cil_tree_log(node, CIL_ERR, "Invalid statement within booleanif"); in __cil_cond_to_policydb_helper()
2240 cil_tree_log(node, CIL_INFO, "Failed to create sepol conditional node"); in cil_booleanif_to_policydb()
2246 cil_tree_log(node, CIL_INFO, "Failed to convert CIL conditional expression to sepol expression"); in cil_booleanif_to_policydb()
2307 cil_tree_log(true_node, CIL_ERR, "Failure while walking true conditional block"); in cil_booleanif_to_policydb()
2316 cil_tree_log(false_node, CIL_ERR, "Failure while walking false conditional block"); in cil_booleanif_to_policydb()
3864 cil_tree_log(node, CIL_ERR, "Binary policy creation failed"); in __cil_node_to_policydb()
[all …]
Dcil.c2004 cil_tree_log(ast_node, CIL_ERR, "Failed to get symtab from node"); in cil_get_symtab()