Lines Matching refs:cil_log
88 cil_log(CIL_INFO, "Failed to find user %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_user_datum()
99 cil_log(CIL_INFO, "Failed to find role %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_role_datum()
110 cil_log(CIL_INFO, "Failed to find type %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_type_datum()
121 cil_log(CIL_INFO, "Failed to find class %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_class_datum()
132 cil_log(CIL_INFO, "Failed to find category %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_cat_datum()
143 cil_log(CIL_INFO, "Failed to find level %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_level_datum()
159 cil_log(CIL_ERR, "Failed to copy user bits\n"); in __cil_expand_user()
166 cil_log(CIL_ERR, "Failed to set user bit\n"); in __cil_expand_user()
185 cil_log(CIL_ERR, "Failed to copy role bits\n"); in __cil_expand_role()
192 cil_log(CIL_ERR, "Failed to set role bit\n"); in __cil_expand_role()
211 cil_log(CIL_ERR, "Failed to copy type bits\n"); in __cil_expand_type()
218 cil_log(CIL_ERR, "Failed to set type bit\n"); in __cil_expand_type()
390 cil_log(CIL_INFO, "Failed to set dominates bit for role\n"); in cil_role_to_policydb()
423 cil_log(CIL_ERR, "Failed to insert role bounds for role %s\n", cil_role->datum.fqn); in cil_role_bounds_to_policydb()
447 cil_log(CIL_INFO, "Failed to set type bit for role\n"); in cil_roletype_to_policydb()
508 cil_log(CIL_ERR, "Failed to insert type bounds for type %s\n", cil_type->datum.fqn); in cil_type_bounds_to_policydb()
729 cil_log(CIL_ERR, "Failed to insert user bounds for user %s\n", cil_user->datum.fqn); in cil_user_bounds_to_policydb()
764 cil_log(CIL_INFO, "Failed to set role bit for user\n"); in cil_userrole_to_policydb()
1021 …cil_log(CIL_ERR, "Conflicting type rules (scontext=%s tcontext=%s tclass=%s result=%s), existing=%… in __cil_insert_type_rule()
1027 cil_log(CIL_ERR, "Expanded from type rule (scontext=%s tcontext=%s tclass=%s result=%s)\n", in __cil_insert_type_rule()
1054 …cil_log(CIL_ERR, "Conflicting type rules (scontext=%s tcontext=%s tclass=%s result=%s), existing=%… in __cil_insert_type_rule()
1060 cil_log(CIL_ERR, "Expanded from type rule (scontext=%s tcontext=%s tclass=%s result=%s)\n", in __cil_insert_type_rule()
1212 cil_log(CIL_ERR, "Conflicting name type transition rules\n"); in __cil_typetransition_to_avtab()
1217 cil_log(CIL_ERR, "Out of memory\n"); in __cil_typetransition_to_avtab()
1226 cil_log(CIL_ERR, "Out of memory\n"); in __cil_typetransition_to_avtab()
1266 cil_log(CIL_ERR, "Failed to find datum for perm %s\n", perm_str); in __perm_str_to_datum()
1959 cil_log(CIL_ERR, "typetransition with file name not allowed within a booleanif block.\n"); in __cil_cond_to_policydb_helper()
2092 cil_log(CIL_INFO, "Failed to find boolean\n"); in __cil_cond_item_to_sepol_expr()
2124 cil_log(CIL_INFO, "Expected boolean expression\n"); in __cil_cond_expr_to_sepol_expr_helper()
2162 cil_log(CIL_INFO, "Failed to get first operand of conditional expression\n"); in __cil_cond_expr_to_sepol_expr_helper()
2174 cil_log(CIL_INFO, "Failed to get second operand of conditional expression\n"); in __cil_cond_expr_to_sepol_expr_helper()
2188 cil_log(CIL_INFO, "Failed to get initial item in conditional list\n"); in __cil_cond_expr_to_sepol_expr_helper()
2195 cil_log(CIL_INFO, "Failed to get item in conditional list\n"); in __cil_cond_expr_to_sepol_expr_helper()
2386 cil_log(CIL_ERR, "Conflicting role transition rules\n"); in cil_roletrans_to_policydb()
2391 cil_log(CIL_ERR, "Out of memory\n"); in cil_roletrans_to_policydb()
2862 cil_log(CIL_ERR, "Failed to insert constraint into policydb\n"); in cil_constrain_to_policydb()
2955 cil_log(CIL_INFO, "Failed to insert category set into sepol mls level\n"); in cil_sepol_level_define()
2986 cil_log(CIL_INFO, "Failed to insert category set into sepol mls level\n"); in cil_level_to_mls_level()
3075 cil_log(CIL_ERR,"Problem with MLS\n"); in __cil_context_to_sepol_context()
3095 cil_log(CIL_WARN, "No sidorder statement in policy\n"); in cil_sidorder_to_policydb()
3110 cil_log(CIL_ERR,"Problem with context for SID %s\n",cil_sid->datum.fqn); in cil_sidorder_to_policydb()
3180 cil_log(CIL_ERR, "Conflicting Range transition rules\n"); in cil_rangetransition_to_policydb()
3185 cil_log(CIL_ERR, "Out of memory\n"); in cil_rangetransition_to_policydb()
3197 cil_log(CIL_ERR, "Out of memory\n"); in cil_rangetransition_to_policydb()
3234 cil_log(CIL_ERR, "ibpkeycon subnet prefix not in valid IPV6 format\n"); in cil_ibpkeycon_to_policydb()
3598 cil_log(CIL_ERR,"User default labeling for class %s already specified\n",DATUM(c->data)->fqn); in cil_default_to_policydb()
3606 cil_log(CIL_ERR,"Role default labeling for class %s already specified\n",DATUM(c->data)->fqn); in cil_default_to_policydb()
3614 cil_log(CIL_ERR,"Type default labeling for class %s already specified\n",DATUM(c->data)->fqn); in cil_default_to_policydb()
3651 …cil_log(CIL_ERR,"Range default labeling for class %s already specified\n", DATUM(curr->data)->fqn); in cil_defaultrange_to_policydb()
4133 cil_log(CIL_WARN, "Expression result was undefined - disabling all rules\n"); in __cil_set_conditional_state_and_flags()
4161 cil_log(CIL_ERR, "Failed to create policy db\n"); in __cil_policydb_create()
4561 cil_log(CIL_ERR,"(%s (", DATUM(cp->class)->fqn); in __cil_print_classperm()
4563 cil_log(CIL_ERR,"%s",DATUM(i2->data)->fqn); in __cil_print_classperm()
4565 cil_log(CIL_ERR," "); in __cil_print_classperm()
4567 cil_log(CIL_ERR,"))"); in __cil_print_classperm()
4572 cil_log(CIL_ERR,"%s", DATUM(cp_set->set)->fqn); in __cil_print_classperm()
4592 cil_log(CIL_ERR, "%s %s (%s)", kind_str, DATUM(px->obj)->fqn, expr_str); in __cil_print_permissionx()
4599 cil_log(CIL_ERR,"%s(%s ", pad, kind); in __cil_print_rule()
4600 cil_log(CIL_ERR,"%s %s ", DATUM(avrule->src)->fqn, DATUM(avrule->tgt)->fqn); in __cil_print_rule()
4605 cil_log(CIL_ERR, "("); in __cil_print_rule()
4607 cil_log(CIL_ERR, ")"); in __cil_print_rule()
4610 cil_log(CIL_ERR,")\n"); in __cil_print_rule()
4646 cil_log(CIL_ERR, "Error occurred while checking %s rules\n", neverallow_str); in __cil_print_neverallow_failure()
4657 cil_log(CIL_ERR,"\n"); in __cil_print_neverallow_failure()
4794 cil_log(CIL_ERR,"Failed to create CIL class-permissions from sepol values\n"); in cil_classperms_from_sepol()
4815 cil_log(CIL_ERR,"Failed to create CIL AV rule from sepol values\n"); in cil_avrule_from_sepol()
4854 cil_log(CIL_ERR, "Child type %s exceeds bounds of parent %s\n", in cil_check_type_bounds()
4862 cil_log(CIL_ERR, "Failed to convert sepol avrule to CIL\n"); in cil_check_type_bounds()
4869 cil_log(CIL_ERR, "Error occurred while checking type bounds\n"); in cil_check_type_bounds()
4879 cil_log(CIL_ERR, " <See previous>\n"); in cil_check_type_bounds()
4916 cil_log(CIL_ERR,"db == NULL\n"); in cil_binary_create_allocated_pdb()
4918 cil_log(CIL_ERR,"policydb == NULL\n"); in cil_binary_create_allocated_pdb()
4941 cil_log(CIL_ERR,"Problem in policydb_init\n"); in cil_binary_create_allocated_pdb()
4947 cil_log(CIL_INFO, "Failure to create hashtab for filename_trans\n"); in cil_binary_create_allocated_pdb()
4953 cil_log(CIL_INFO, "Failure to create hashtab for range_trans\n"); in cil_binary_create_allocated_pdb()
4959 cil_log(CIL_INFO, "Failure to create hashtab for role_trans\n"); in cil_binary_create_allocated_pdb()
4965 cil_log(CIL_INFO, "Failure to create hashtab for avrulex\n"); in cil_binary_create_allocated_pdb()
4985 cil_log(CIL_INFO, "Failure while walking cil database\n"); in cil_binary_create_allocated_pdb()
4992 cil_log(CIL_INFO, "Failure creating val_to_{struct,name} arrays\n"); in cil_binary_create_allocated_pdb()
5000 cil_log(CIL_INFO, "Failure creating avrulex rules\n"); in cil_binary_create_allocated_pdb()
5013 cil_log(CIL_INFO, "Failure while inserting cil contexts into sepol policydb\n"); in cil_binary_create_allocated_pdb()
5020 cil_log(CIL_INFO, "Failure while initializing typeattribute bitmap\n"); in cil_binary_create_allocated_pdb()
5030 cil_log(CIL_INFO, "Checking Neverallows\n"); in cil_binary_create_allocated_pdb()
5034 cil_log(CIL_INFO, "Checking User Bounds\n"); in cil_binary_create_allocated_pdb()
5040 cil_log(CIL_INFO, "Checking Role Bounds\n"); in cil_binary_create_allocated_pdb()
5046 cil_log(CIL_INFO, "Checking Type Bounds\n"); in cil_binary_create_allocated_pdb()
5059 cil_log(CIL_INFO, "Failure creating roles cache"); in cil_binary_create_allocated_pdb()
5065 cil_log(CIL_INFO, "Failure creating users cache"); in cil_binary_create_allocated_pdb()