Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dkernel_to_cil.c430 sepol_printf(out, "(handleunknown %s)\n", action); in write_handle_unknown_to_cil()
477 sepol_printf(out, "(class %s (%s))\n", name, perms); in write_class_decl_rules_to_cil()
480 sepol_printf(out, "(class %s ())\n", name); in write_class_decl_rules_to_cil()
485 sepol_printf(out, "(classorder ("); in write_class_decl_rules_to_cil()
489 sepol_printf(out, "%s ", name); in write_class_decl_rules_to_cil()
494 sepol_printf(out, "%s", name); in write_class_decl_rules_to_cil()
496 sepol_printf(out, "))\n"); in write_class_decl_rules_to_cil()
504 sepol_printf(out, "(classcommon %s %s)\n", name, class->comkey); in write_class_decl_rules_to_cil()
536 sepol_printf(out, "(common %s (%s))\n", name, perms); in write_class_decl_rules_to_cil()
592 sepol_printf(out, "(sid %s)\n", sid); in write_sids_to_cil()
[all …]
Dkernel_to_conf.c432 sepol_printf(out, "# handle_unknown %s\n", action); in write_handle_unknown_to_conf()
444 sepol_printf(out, "class %s\n", name); in write_class_decl_rules_to_conf()
488 sepol_printf(out, "sid %s\n", sid); in write_sids_to_conf()
582 sepol_printf(out, "common %s { %s }\n", name, perms); in write_class_and_common_rules_to_conf()
598 sepol_printf(out, "class %s", name); in write_class_and_common_rules_to_conf()
600 sepol_printf(out, " inherits %s", class->comkey); in write_class_and_common_rules_to_conf()
604 sepol_printf(out, " { %s }", perms); in write_class_and_common_rules_to_conf()
607 sepol_printf(out, "\n"); in write_class_and_common_rules_to_conf()
634 sepol_printf(out, "default_user { %s } %s;\n", class_name, dft); in write_default_user_to_conf()
654 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.c45 void sepol_printf(FILE *out, const char *fmt, ...) in sepol_printf() function
338 sepol_printf(out, "%s\n",strs->list[i]); in strs_write_each()
351 sepol_printf(out, "%s\n",strs->list[i]); in strs_write_each_indented()