Home
last modified time | relevance | path

Searched refs:sepol_printf (Results 1 – 4 of 4) sorted by relevance

/third_party/selinux/libsepol/src/
Dkernel_to_cil.c421 sepol_printf(out, "(handleunknown %s)\n", action); in write_handle_unknown_to_cil()
467 sepol_printf(out, "(class %s (%s))\n", name, perms); in write_class_decl_rules_to_cil()
470 sepol_printf(out, "(class %s ())\n", name); in write_class_decl_rules_to_cil()
475 sepol_printf(out, "(classorder ("); in write_class_decl_rules_to_cil()
479 sepol_printf(out, "%s ", name); in write_class_decl_rules_to_cil()
484 sepol_printf(out, "%s", name); in write_class_decl_rules_to_cil()
486 sepol_printf(out, "))\n"); in write_class_decl_rules_to_cil()
493 sepol_printf(out, "(classcommon %s %s)\n", name, class->comkey); in write_class_decl_rules_to_cil()
524 sepol_printf(out, "(common %s (%s))\n", name, perms); in write_class_decl_rules_to_cil()
575 sepol_printf(out, "(sid %s)\n", sid); in write_sids_to_cil()
[all …]
Dkernel_to_conf.c421 sepol_printf(out, "# handle_unknown %s\n", action); in write_handle_unknown_to_conf()
433 sepol_printf(out, "class %s\n", name); in write_class_decl_rules_to_conf()
477 sepol_printf(out, "sid %s\n", sid); in write_sids_to_conf()
570 sepol_printf(out, "common %s { %s }\n", name, perms); in write_class_and_common_rules_to_conf()
581 sepol_printf(out, "class %s", name); in write_class_and_common_rules_to_conf()
583 sepol_printf(out, " inherits %s", class->comkey); in write_class_and_common_rules_to_conf()
587 sepol_printf(out, " { %s }", perms); in write_class_and_common_rules_to_conf()
590 sepol_printf(out, "\n"); in write_class_and_common_rules_to_conf()
616 sepol_printf(out, "default_user { %s } %s;\n", class_name, dft); in write_default_user_to_conf()
636 sepol_printf(out, "default_role { %s } %s;\n", class_name, dft); in write_default_role_to_conf()
[all …]
Dkernel_to_common.h90 void sepol_printf(FILE *out, const char *fmt, ...);
Dkernel_to_common.c44 void sepol_printf(FILE *out, const char *fmt, ...) in sepol_printf() function
332 sepol_printf(out, "%s\n",strs->list[i]); in strs_write_each()
345 sepol_printf(out, "%s\n",strs->list[i]); in strs_write_each_indented()