Lines Matching refs:cil_log
87 cil_log(CIL_INFO, "Failed to find user %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_user_datum()
98 cil_log(CIL_INFO, "Failed to find role %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_role_datum()
109 cil_log(CIL_INFO, "Failed to find type %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_type_datum()
120 cil_log(CIL_INFO, "Failed to find class %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_class_datum()
131 cil_log(CIL_INFO, "Failed to find category %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_cat_datum()
142 cil_log(CIL_INFO, "Failed to find level %s in sepol hashtab\n", datum->fqn); in __cil_get_sepol_level_datum()
158 cil_log(CIL_ERR, "Failed to copy user bits\n"); in __cil_expand_user()
165 cil_log(CIL_ERR, "Failed to set user bit\n"); in __cil_expand_user()
184 cil_log(CIL_ERR, "Failed to copy role bits\n"); in __cil_expand_role()
191 cil_log(CIL_ERR, "Failed to set role bit\n"); in __cil_expand_role()
210 cil_log(CIL_ERR, "Failed to copy type bits\n"); in __cil_expand_type()
217 cil_log(CIL_ERR, "Failed to set type bit\n"); in __cil_expand_type()
389 cil_log(CIL_INFO, "Failed to set dominates bit for role\n"); in cil_role_to_policydb()
422 cil_log(CIL_ERR, "Failed to insert role bounds for role %s\n", cil_role->datum.fqn); in cil_role_bounds_to_policydb()
444 cil_log(CIL_INFO, "Failed to set type bit for role\n"); in cil_roletype_to_policydb()
505 cil_log(CIL_ERR, "Failed to insert type bounds for type %s\n", cil_type->datum.fqn); in cil_type_bounds_to_policydb()
724 cil_log(CIL_ERR, "Failed to insert user bounds for user %s\n", cil_user->datum.fqn); in cil_user_bounds_to_policydb()
755 cil_log(CIL_INFO, "Failed to set role bit for user\n"); in cil_userrole_to_policydb()
1012 …cil_log(CIL_ERR, "Conflicting type rules (scontext=%s tcontext=%s tclass=%s result=%s), existing=%… in __cil_insert_type_rule()
1018 cil_log(CIL_ERR, "Expanded from type rule (scontext=%s tcontext=%s tclass=%s result=%s)\n", in __cil_insert_type_rule()
1045 …cil_log(CIL_ERR, "Conflicting type rules (scontext=%s tcontext=%s tclass=%s result=%s), existing=%… in __cil_insert_type_rule()
1051 cil_log(CIL_ERR, "Expanded from type rule (scontext=%s tcontext=%s tclass=%s result=%s)\n", in __cil_insert_type_rule()
1196 cil_log(CIL_ERR, "Conflicting name type transition rules\n"); in __cil_typetransition_to_avtab()
1201 cil_log(CIL_ERR, "Out of memory\n"); in __cil_typetransition_to_avtab()
1239 cil_log(CIL_ERR, "Failed to find datum for perm %s\n", perm_str); in __perm_str_to_datum()
1919 cil_log(CIL_ERR, "typetransition with file name not allowed within a booleanif block.\n"); in __cil_cond_to_policydb_helper()
2053 cil_log(CIL_INFO, "Failed to find boolean\n"); in __cil_cond_item_to_sepol_expr()
2085 cil_log(CIL_INFO, "Expected boolean expression\n"); in __cil_cond_expr_to_sepol_expr_helper()
2124 cil_log(CIL_INFO, "Failed to get first operand of conditional expression\n"); in __cil_cond_expr_to_sepol_expr_helper()
2136 cil_log(CIL_INFO, "Failed to get second operand of conditional expression\n"); in __cil_cond_expr_to_sepol_expr_helper()
2150 cil_log(CIL_INFO, "Failed to get initial item in conditional list\n"); in __cil_cond_expr_to_sepol_expr_helper()
2157 cil_log(CIL_INFO, "Failed to get item in conditional list\n"); in __cil_cond_expr_to_sepol_expr_helper()
2349 cil_log(CIL_ERR, "Conflicting role transition rules\n"); in cil_roletrans_to_policydb()
2354 cil_log(CIL_ERR, "Out of memory\n"); in cil_roletrans_to_policydb()
2813 cil_log(CIL_ERR, "Failed to insert constraint into policydb\n"); in cil_constrain_to_policydb()
2906 cil_log(CIL_INFO, "Failed to insert category set into sepol mls level\n"); in cil_sepol_level_define()
2937 cil_log(CIL_INFO, "Failed to insert category set into sepol mls level\n"); in cil_level_to_mls_level()
3026 cil_log(CIL_ERR,"Problem with MLS\n"); in __cil_context_to_sepol_context()
3046 cil_log(CIL_WARN, "No sidorder statement in policy\n"); in cil_sidorder_to_policydb()
3063 cil_log(CIL_ERR,"Problem with context for SID %s\n",cil_sid->datum.fqn); in cil_sidorder_to_policydb()
3127 cil_log(CIL_ERR, "Conflicting Range transition rules\n"); in cil_rangetransition_to_policydb()
3132 cil_log(CIL_ERR, "Out of memory\n"); in cil_rangetransition_to_policydb()
3167 cil_log(CIL_ERR, "ibpkeycon subnet prefix not in valid IPV6 format\n"); in cil_ibpkeycon_to_policydb()
3534 cil_log(CIL_ERR,"User default labeling for class %s already specified\n",DATUM(c->data)->fqn); in cil_default_to_policydb()
3542 cil_log(CIL_ERR,"Role default labeling for class %s already specified\n",DATUM(c->data)->fqn); in cil_default_to_policydb()
3550 cil_log(CIL_ERR,"Type default labeling for class %s already specified\n",DATUM(c->data)->fqn); in cil_default_to_policydb()
3587 …cil_log(CIL_ERR,"Range default labeling for class %s already specified\n", DATUM(curr->data)->fqn); in cil_defaultrange_to_policydb()
4065 cil_log(CIL_WARN, "Expression result was undefined - disabling all rules\n"); in __cil_set_conditional_state_and_flags()
4093 cil_log(CIL_ERR, "Failed to create policy db\n"); in __cil_policydb_create()
4458 cil_log(CIL_ERR,"(%s (", DATUM(cp->class)->fqn); in __cil_print_classperm()
4460 cil_log(CIL_ERR,"%s",DATUM(i2->data)->fqn); in __cil_print_classperm()
4462 cil_log(CIL_ERR," "); in __cil_print_classperm()
4464 cil_log(CIL_ERR,"))"); in __cil_print_classperm()
4469 cil_log(CIL_ERR,"%s", DATUM(cp_set->set)->fqn); in __cil_print_classperm()
4489 cil_log(CIL_ERR, "%s %s (%s)", kind_str, DATUM(px->obj)->fqn, expr_str); in __cil_print_permissionx()
4496 cil_log(CIL_ERR,"%s(%s ", pad, kind); in __cil_print_rule()
4497 cil_log(CIL_ERR,"%s %s ", DATUM(avrule->src)->fqn, DATUM(avrule->tgt)->fqn); in __cil_print_rule()
4502 cil_log(CIL_ERR, "("); in __cil_print_rule()
4504 cil_log(CIL_ERR, ")"); in __cil_print_rule()
4507 cil_log(CIL_ERR,")\n"); in __cil_print_rule()
4543 cil_log(CIL_ERR, "Error occurred while checking %s rules\n", neverallow_str); in __cil_print_neverallow_failure()
4554 cil_log(CIL_ERR,"\n"); in __cil_print_neverallow_failure()
4692 cil_log(CIL_ERR,"Failed to create CIL class-permissions from sepol values\n"); in cil_classperms_from_sepol()
4713 cil_log(CIL_ERR,"Failed to create CIL AV rule from sepol values\n"); in cil_avrule_from_sepol()
4752 cil_log(CIL_ERR, "Child type %s exceeds bounds of parent %s\n", in cil_check_type_bounds()
4760 cil_log(CIL_ERR, "Failed to convert sepol avrule to CIL\n"); in cil_check_type_bounds()
4767 cil_log(CIL_ERR, "Error occurred while checking type bounds\n"); in cil_check_type_bounds()
4777 cil_log(CIL_ERR, " <See previous>\n"); in cil_check_type_bounds()
4812 cil_log(CIL_ERR,"db == NULL\n"); in cil_binary_create_allocated_pdb()
4814 cil_log(CIL_ERR,"policydb == NULL\n"); in cil_binary_create_allocated_pdb()
4837 cil_log(CIL_ERR,"Problem in policydb_init\n"); in cil_binary_create_allocated_pdb()
4843 cil_log(CIL_INFO, "Failure to create hashtab for role_trans\n"); in cil_binary_create_allocated_pdb()
4849 cil_log(CIL_INFO, "Failure to create hashtab for avrulex\n"); in cil_binary_create_allocated_pdb()
4867 cil_log(CIL_INFO, "Failure while walking cil database\n"); in cil_binary_create_allocated_pdb()
4874 cil_log(CIL_INFO, "Failure creating val_to_{struct,name} arrays\n"); in cil_binary_create_allocated_pdb()
4882 cil_log(CIL_INFO, "Failure creating avrulex rules\n"); in cil_binary_create_allocated_pdb()
4895 cil_log(CIL_INFO, "Failure while inserting cil contexts into sepol policydb\n"); in cil_binary_create_allocated_pdb()
4902 cil_log(CIL_INFO, "Failure while initializing typeattribute bitmap\n"); in cil_binary_create_allocated_pdb()
4912 cil_log(CIL_INFO, "Checking Neverallows\n"); in cil_binary_create_allocated_pdb()
4916 cil_log(CIL_INFO, "Checking User Bounds\n"); in cil_binary_create_allocated_pdb()
4922 cil_log(CIL_INFO, "Checking Role Bounds\n"); in cil_binary_create_allocated_pdb()
4928 cil_log(CIL_INFO, "Checking Type Bounds\n"); in cil_binary_create_allocated_pdb()
4941 cil_log(CIL_INFO, "Failure creating roles cache"); in cil_binary_create_allocated_pdb()
4947 cil_log(CIL_INFO, "Failure creating users cache"); in cil_binary_create_allocated_pdb()