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.c413 sepol_printf(out, "(handleunknown %s)\n", action); in write_handle_unknown_to_cil()
459 sepol_printf(out, "(class %s (%s))\n", name, perms); in write_class_decl_rules_to_cil()
462 sepol_printf(out, "(class %s ())\n", name); in write_class_decl_rules_to_cil()
467 sepol_printf(out, "(classorder ("); in write_class_decl_rules_to_cil()
471 sepol_printf(out, "%s ", name); in write_class_decl_rules_to_cil()
476 sepol_printf(out, "%s", name); in write_class_decl_rules_to_cil()
478 sepol_printf(out, "))\n"); in write_class_decl_rules_to_cil()
485 sepol_printf(out, "(classcommon %s %s)\n", name, class->comkey); in write_class_decl_rules_to_cil()
516 sepol_printf(out, "(common %s (%s))\n", name, perms); in write_class_decl_rules_to_cil()
567 sepol_printf(out, "(sid %s)\n", sid); in write_sids_to_cil()
[all …]
Dkernel_to_conf.c413 sepol_printf(out, "# handle_unknown %s\n", action); in write_handle_unknown_to_conf()
425 sepol_printf(out, "class %s\n", name); in write_class_decl_rules_to_conf()
465 sepol_printf(out, "sid %s\n", sid); in write_sids_to_conf()
558 sepol_printf(out, "common %s { %s }\n", name, perms); in write_class_and_common_rules_to_conf()
569 sepol_printf(out, "class %s", name); in write_class_and_common_rules_to_conf()
571 sepol_printf(out, " inherits %s", class->comkey); in write_class_and_common_rules_to_conf()
575 sepol_printf(out, " { %s }", perms); in write_class_and_common_rules_to_conf()
578 sepol_printf(out, "\n"); in write_class_and_common_rules_to_conf()
604 sepol_printf(out, "default_user { %s } %s;\n", class_name, dft); in write_default_user_to_conf()
624 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()