• Home
  • Raw
  • Download

Lines Matching refs:fprintf

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