Lines Matching refs:cil_log
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");
189 cil_log(CIL_ERR, "Failed to set role bit\n");
208 cil_log(CIL_ERR, "Failed to copy type bits\n");
215 cil_log(CIL_ERR, "Failed to set type bit\n");
387 cil_log(CIL_INFO, "Failed to set dominates bit for role\n");
420 cil_log(CIL_ERR, "Failed to insert role bounds for role %s\n", cil_role->datum.fqn);
444 cil_log(CIL_INFO, "Failed to set type bit for role\n");
505 cil_log(CIL_ERR, "Failed to insert type bounds for type %s\n", cil_type->datum.fqn);
724 cil_log(CIL_ERR, "Failed to insert user bounds for user %s\n", cil_user->datum.fqn);
753 cil_log(CIL_INFO, "Failed to set role bit for user\n");
1011 cil_log(CIL_ERR, "Conflicting type rules\n");
1037 cil_log(CIL_ERR, "Conflicting type rules\n");
1184 cil_log(CIL_ERR, "Conflicting name type transition rules\n");
1189 cil_log(CIL_ERR, "Out of memory\n");
1232 cil_log(CIL_ERR, "Failed to find datum for perm %s\n", perm_str);
1772 cil_log(CIL_ERR, "typetransition with file name not allowed within a booleanif block.\n");
1773 cil_log(CIL_ERR,"Invalid typetransition statement at line %d of %s\n",
1779 cil_log(CIL_ERR, "Failed to insert type transition into avtab at line %d of %s\n", node->line, node->path);
1787 cil_log(CIL_ERR, "Failed to insert typerule into avtab at line %d of %s\n", node->line, node->path);
1795 cil_log(CIL_ERR, "Failed to insert avrule into avtab at line %d of %s\n", node->line, node->path);
1803 cil_log(CIL_ERR, "Invalid statement within booleanif at line %d of %s\n",
1907 cil_log(CIL_INFO, "Failed to find boolean\n");
1939 cil_log(CIL_INFO, "Expected boolean expression\n");
1977 cil_log(CIL_INFO, "Failed to get first operand of conditional expression\n");
1989 cil_log(CIL_INFO, "Failed to get second operand of conditional expression\n");
2003 cil_log(CIL_INFO, "Failed to get initial item in conditional list\n");
2010 cil_log(CIL_INFO, "Failed to get item in conditional list\n");
2063 cil_log(CIL_INFO, "Failed to create sepol conditional node at line %d of %s\n",
2070 cil_log(CIL_INFO, "Failed to convert CIL conditional expression to sepol expression at line %d of %s\n", node->line, node->path);
2126 cil_log(CIL_ERR, "Failure while walking true conditional block at line %d of %s\n", true_node->line, true_node->path);
2135 cil_log(CIL_ERR, "Failure while walking false conditional block at line %d of %s\n", false_node->line, false_node->path);
2203 cil_log(CIL_ERR, "Conflicting role transition rules\n");
2208 cil_log(CIL_ERR, "Out of memory\n");
2672 cil_log(CIL_ERR, "Failed to insert constraint into policydb\n");
2765 cil_log(CIL_INFO, "Failed to insert category set into sepol mls level\n");
2796 cil_log(CIL_INFO, "Failed to insert category set into sepol mls level\n");
2885 cil_log(CIL_ERR,"Problem with MLS\n");
2905 cil_log(CIL_WARN, "No sidorder statement in policy\n");
2920 cil_log(CIL_ERR,"Problem with context for SID %s\n",cil_sid->datum.fqn);
2989 cil_log(CIL_ERR, "Conflicting Range transition rules\n");
2994 cil_log(CIL_ERR, "Out of memory\n");
3337 cil_log(CIL_ERR,"User default labeling for class %s already specified\n",DATUM(c->data)->fqn);
3345 cil_log(CIL_ERR,"Role default labeling for class %s already specified\n",DATUM(c->data)->fqn);
3353 cil_log(CIL_ERR,"Type default labeling for class %s already specified\n",DATUM(c->data)->fqn);
3390 cil_log(CIL_ERR,"Range default labeling for class %s already specified\n", DATUM(curr->data)->fqn);
3586 cil_log(CIL_ERR, "Binary policy creation failed at line %d of %s\n", node->line, node->path);
3862 cil_log(CIL_WARN, "Expression result was undefined - disabling all rules\n");
3890 cil_log(CIL_ERR, "Failed to create policy db\n");
4267 cil_log(CIL_ERR,"%s%s\n", pad, cil_node_to_string(n));
4269 cil_log(CIL_ERR,"%s%s at line %d of %s\n", pad, cil_node_to_string(n), n->line, n->path);
4280 cil_log(CIL_ERR,"(%s (", DATUM(cp->class)->fqn);
4282 cil_log(CIL_ERR,"%s",DATUM(i2->data)->fqn);
4284 cil_log(CIL_ERR," ");
4286 cil_log(CIL_ERR,"))");
4291 cil_log(CIL_ERR,"%s", DATUM(cp_set->set)->fqn);
4311 cil_log(CIL_ERR, "%s %s (%s)", kind_str, DATUM(px->obj)->fqn, expr_str);
4318 cil_log(CIL_ERR,"%s(%s ", pad, kind);
4319 cil_log(CIL_ERR,"%s %s ", DATUM(avrule->src)->fqn, DATUM(avrule->tgt)->fqn);
4324 cil_log(CIL_ERR, "(");
4326 cil_log(CIL_ERR, ")");
4329 cil_log(CIL_ERR,")\n");
4360 cil_log(CIL_ERR, "%s check failed at line %d of %s\n", neverallow_str, node->line, node->path);
4365 cil_log(CIL_ERR, "Error occurred while checking %s rules\n", neverallow_str);
4376 cil_log(CIL_ERR,"\n");
4526 cil_log(CIL_ERR,"Failed to create CIL class-permissions from sepol values\n");
4547 cil_log(CIL_ERR,"Failed to create CIL AV rule from sepol values\n");
4583 cil_log(CIL_ERR, "Child type %s exceeds bounds of parent %s\n",
4592 cil_log(CIL_ERR, "Failed to convert sepol avrule to CIL\n");
4599 cil_log(CIL_ERR, "Error occurred while checking type bounds\n");
4612 cil_log(CIL_ERR,"\n");
4643 cil_log(CIL_ERR,"db == NULL\n");
4645 cil_log(CIL_ERR,"policydb == NULL\n");
4668 cil_log(CIL_ERR,"Problem in policydb_init\n");
4674 cil_log(CIL_INFO, "Failure to create hashtab for filename_trans\n");
4680 cil_log(CIL_INFO, "Failure to create hashtab for range_trans\n");
4686 cil_log(CIL_INFO, "Failure to create hashtab for role_trans\n");
4692 cil_log(CIL_INFO, "Failure to create hashtab for avrulex\n");
4712 cil_log(CIL_INFO, "Failure while walking cil database\n");
4719 cil_log(CIL_INFO, "Failure creating val_to_{struct,name} arrays\n");
4727 cil_log(CIL_INFO, "Failure creating avrulex rules\n");
4740 cil_log(CIL_INFO, "Failure while inserting cil contexts into sepol policydb\n");
4747 cil_log(CIL_INFO, "Failure while initializing typeattribute bitmap\n");
4756 cil_log(CIL_INFO, "Checking Neverallows\n");
4760 cil_log(CIL_INFO, "Checking User Bounds\n");
4763 cil_log(CIL_INFO, "Checking Role Bounds\n");
4766 cil_log(CIL_INFO, "Checking Type Bounds\n");