Lines Matching refs:sepol_printf
417 sepol_printf(out, "(handleunknown %s)\n", action); in write_handle_unknown_to_cil()
463 sepol_printf(out, "(class %s (%s))\n", name, perms); in write_class_decl_rules_to_cil()
466 sepol_printf(out, "(class %s ())\n", name); in write_class_decl_rules_to_cil()
471 sepol_printf(out, "(classorder ("); in write_class_decl_rules_to_cil()
475 sepol_printf(out, "%s ", name); in write_class_decl_rules_to_cil()
480 sepol_printf(out, "%s", name); in write_class_decl_rules_to_cil()
482 sepol_printf(out, "))\n"); in write_class_decl_rules_to_cil()
489 sepol_printf(out, "(classcommon %s %s)\n", name, class->comkey); in write_class_decl_rules_to_cil()
520 sepol_printf(out, "(common %s (%s))\n", name, perms); in write_class_decl_rules_to_cil()
571 sepol_printf(out, "(sid %s)\n", sid); in write_sids_to_cil()
574 sepol_printf(out, "(sidorder ("); in write_sids_to_cil()
582 sepol_printf(out, "%s ", prev); in write_sids_to_cil()
587 sepol_printf(out, "%s", prev); in write_sids_to_cil()
589 sepol_printf(out, "))\n"); in write_sids_to_cil()
637 sepol_printf(out, "(defaultuser %s %s)\n", class_name, dft); in write_default_user_to_cil()
657 sepol_printf(out, "(defaultrole %s %s)\n", class_name, dft); in write_default_role_to_cil()
677 sepol_printf(out, "(defaulttype %s %s)\n", class_name, dft); in write_default_type_to_cil()
712 sepol_printf(out, "(defaultrange %s %s)\n", class_name, dft); in write_default_range_to_cil()
781 sepol_printf(out, "(sensitivity s0)"); in write_default_mls_level()
782 sepol_printf(out, "(sensitivityorder (s0))"); in write_default_mls_level()
783 sepol_printf(out, "(level %s (s0))", DEFAULT_LEVEL); in write_default_mls_level()
823 sepol_printf(out, "(sensitivity %s)\n", name); in write_sensitivity_rules_to_cil()
827 sepol_printf(out, "(sensitivityorder ("); in write_sensitivity_rules_to_cil()
840 sepol_printf(out, "%s ", prev); in write_sensitivity_rules_to_cil()
845 sepol_printf(out, "%s", prev); in write_sensitivity_rules_to_cil()
847 sepol_printf(out, "))\n"); in write_sensitivity_rules_to_cil()
866 sepol_printf(out, "(sensitivityalias %s)\n", name); in write_sensitivity_rules_to_cil()
878 sepol_printf(out, "(sensitivityaliasactual %s %s)\n", name, actual); in write_sensitivity_rules_to_cil()
928 sepol_printf(out, "(category %s)\n", name); in write_category_rules_to_cil()
932 sepol_printf(out, "(categoryorder ("); in write_category_rules_to_cil()
945 sepol_printf(out, "%s ", prev); in write_category_rules_to_cil()
950 sepol_printf(out, "%s", prev); in write_category_rules_to_cil()
952 sepol_printf(out, "))\n"); in write_category_rules_to_cil()
971 sepol_printf(out, "(categoryalias %s)\n", name); in write_category_rules_to_cil()
983 sepol_printf(out, "(categoryaliasactual %s %s)\n", name, actual); in write_category_rules_to_cil()
1106 sepol_printf(out, "(sensitivitycategory %s %s)\n", name, cats); in write_sensitivitycategory_rules_to_cil()
1124 sepol_printf(out, "(mls false)\n"); in write_mls_rules_to_cil()
1130 sepol_printf(out, "(mls true)\n"); in write_mls_rules_to_cil()
1228 sepol_printf(out, "(typeattribute %s)\n", name); in write_type_attributes_to_cil()
1273 sepol_printf(out, "(roleattribute %s)\n", name); in write_role_attributes_to_cil()
1358 sepol_printf(out, "(type %s)\n", name); in write_type_decl_rules_to_cil()
1404 sepol_printf(out, "(typealias %s)\n", name); in write_type_alias_rules_to_cil()
1419 sepol_printf(out, "(typealiasactual %s %s)\n", name, type); in write_type_alias_rules_to_cil()
1473 sepol_printf(out, "(typebounds %s %s)\n", parent, child); in write_type_bounds_rules_to_cil()
1563 sepol_printf(out, "(typepermissive %s)\n", name); in write_type_permissive_rules_to_cil()
2085 sepol_printf(out, "(booleanif %s\n", expr); in write_cond_nodes_to_cil()
2089 sepol_printf(out, "(true\n"); in write_cond_nodes_to_cil()
2095 sepol_printf(out, ")\n"); in write_cond_nodes_to_cil()
2100 sepol_printf(out, "(false\n"); in write_cond_nodes_to_cil()
2106 sepol_printf(out, ")\n"); in write_cond_nodes_to_cil()
2108 sepol_printf(out, ")\n"); in write_cond_nodes_to_cil()
2160 sepol_printf(out, "(role %s)\n", name); in write_role_decl_rules_to_cil()
2176 sepol_printf(out, "(rolebounds %s %s)\n", parent, child); in write_role_decl_rules_to_cil()
2206 sepol_printf(out, "(roletype %s %s)\n", name, type); in write_role_decl_rules_to_cil()
2238 sepol_printf(out, "(roletype %s %s)\n", DEFAULT_OBJECT, name); in write_role_decl_rules_to_cil()
2360 sepol_printf(out, "(user %s)\n", name); in write_user_decl_rules_to_cil()
2398 sepol_printf(out, "(userrole %s %s)\n", name, role); in write_user_decl_rules_to_cil()
2416 sepol_printf(out, "(userlevel %s ", name); in write_user_decl_rules_to_cil()
2424 sepol_printf(out, "%s", level); in write_user_decl_rules_to_cil()
2427 sepol_printf(out, "%s", DEFAULT_LEVEL); in write_user_decl_rules_to_cil()
2429 sepol_printf(out, ")\n"); in write_user_decl_rules_to_cil()
2444 sepol_printf(out, "(userrange %s ", name); in write_user_decl_rules_to_cil()
2451 sepol_printf(out, "%s", range); in write_user_decl_rules_to_cil()
2454 sepol_printf(out, "(%s %s)", DEFAULT_LEVEL, DEFAULT_LEVEL); in write_user_decl_rules_to_cil()
2456 sepol_printf(out, ")\n"); in write_user_decl_rules_to_cil()
2582 sepol_printf(out, "(fsuse %s %s %s)\n", behavior, name, ctx); in write_selinux_fsuse_rules_to_cil()
2682 sepol_printf(out, "(portcon %s %s %s)\n", protocol, low_high_str, ctx); in write_selinux_port_rules_to_cil()
2717 sepol_printf(out, "(netifcon %s %s %s)\n", name, ctx1, ctx2); in write_selinux_netif_rules_to_cil()
2758 sepol_printf(out, "(nodecon (%s) (%s) %s)\n", addr, mask, ctx); in write_selinux_node_rules_to_cil()
2798 sepol_printf(out, "(nodecon (%s) (%s) %s)\n", addr, mask, ctx); in write_selinux_node6_rules_to_cil()
2853 sepol_printf(out, "(ibpkeycon %s %s %s)\n", subnet_prefix_str, low_high_str, ctx); in write_selinux_ibpkey_rules_to_cil()
2889 sepol_printf(out, "(ibendportcon %s %s %s)\n", in write_selinux_ibendport_rules_to_cil()
2930 sepol_printf(out, "(pirqcon %s %s)\n", pirq_str, ctx); in write_xen_pirq_rules_to_cil()
2973 sepol_printf(out, "(ioportcon %s %s)\n", low_high_str, ctx); in write_xen_ioport_rules_to_cil()
3016 sepol_printf(out, "(iomemcon %s %s)\n", low_high_str, ctx); in write_xen_iomem_rules_to_cil()
3051 sepol_printf(out, "(pcidevicecon %s %s)\n", device_str, ctx); in write_xen_pcidevice_rules_to_cil()
3080 sepol_printf(out, "(devicetreecon %s %s)\n", name, ctx); in write_xen_devicetree_rules_to_cil()