Home | History | Annotate | Download | only in test

Lines Matching refs:fprintf

50 	fprintf(fp, "{");
53 fprintf(fp, "%s ", perm);
54 fprintf(fp, "}");
60 fprintf(fp, "%s", p->p_type_val_to_name[type - 1]);
71 fprintf(fp, "%s %s : %s ", stype, ttype, tclass);
73 fprintf(fp, "%s %u : %s ", stype, key->target_type, tclass);
75 fprintf(fp, "%u %s : %s ", key->source_type, ttype, tclass);
77 fprintf(fp, "%u %u : %s ", key->source_type, key->target_type,
106 fprintf(fp, "[enabled] ");
108 fprintf(fp, "[disabled] ");
113 fprintf(fp, "allow ");
116 fprintf(fp, ";\n");
119 fprintf(fp, "auditallow ");
122 fprintf(fp, ";\n");
125 fprintf(fp, "dontaudit ");
130 fprintf(fp, ";\n");
134 fprintf(fp, "type_transition ");
137 fprintf(fp, ";\n");
140 fprintf(fp, "type_member ");
143 fprintf(fp, ";\n");
146 fprintf(fp, "type_change ");
149 fprintf(fp, ";\n");
152 fprintf(fp, " ERROR: no valid rule type specified\n");
178 fprintf(fp, "\n");
181 fprintf(stderr, "out of memory\n");
190 fprintf(fp, "%s : %d\n", p->p_bool_val_to_name[i],
203 fprintf(fp, "%s ",
207 fprintf(fp, "! ");
210 fprintf(fp, "|| ");
213 fprintf(fp, "&& ");
216 fprintf(fp, "^ ");
219 fprintf(fp, "== ");
222 fprintf(fp, "!= ");
225 fprintf(fp, "error!");
238 fprintf(fp, "expression: ");
240 fprintf(fp, "current state: %d\n", cur->cur_state);
241 fprintf(fp, "True list:\n");
249 fprintf(fp, "\t");
255 fprintf(fp, "False list:\n");
263 fprintf(fp, "\t");
273 fprintf(stderr, "out of memory\n");
280 fprintf(out_fp, "Allow unknown classes and permisions\n");
282 fprintf(out_fp, "Deny unknown classes and permisions\n");
284 fprintf(out_fp, "Reject unknown classes and permisions\n");
294 fprintf(fp, "Could not find bool %s\n", name);
309 fprintf(fp, "policy capabilities:\n");
317 fprintf(fp, "\t%s\n", capname);
326 fprintf(fp, " %s%s", prefix, id);
334 fprintf(fp, "permissive sids:\n");
337 fprintf(fp, "\t");
339 fprintf(fp, "\n");
348 fprintf(fp, "role_trans rules:\n");
354 fprintf(fp, "\n");
362 fprintf(fp, "filename_trans rules:\n");
368 fprintf(fp, " %s\n", ft->name);
411 fprintf(stderr, "Can't open '%s': %s\n",
416 fprintf(stderr, "Can't stat '%s': %s\n",
423 fprintf(stderr, "Can't map '%s': %s\n",
429 fprintf(out_fp, "Reading policy...\n");
435 fprintf(stderr, "%s: Out of memory!\n", argv[0]);
440 fprintf(stderr,
446 fprintf(stdout, "binary policy file loaded\n\n");
484 fprintf(stderr, "couldn't malloc string.\n");
522 fprintf(stderr, "Cannot open output file %s\n",