Lines Matching refs:sepol_printf

413 	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()
644 sepol_printf(out, "default_type { %s } %s;\n", class_name, dft); in write_default_type_to_conf()
676 sepol_printf(out, "default_range { %s } %s;\n", class_name, dft); in write_default_range_to_conf()
821 sepol_printf(out, "sensitivity %s alias { %s };\n", name, alias); in write_sensitivity_rules_to_conf()
823 sepol_printf(out, "sensitivity %s alias %s;\n", name, alias); in write_sensitivity_rules_to_conf()
826 sepol_printf(out, "sensitivity %s;\n", name); in write_sensitivity_rules_to_conf()
831 sepol_printf(out, "dominance { "); in write_sensitivity_rules_to_conf()
844 sepol_printf(out, "%s ", prev); in write_sensitivity_rules_to_conf()
849 sepol_printf(out, "%s", prev); in write_sensitivity_rules_to_conf()
851 sepol_printf(out, " }\n"); in write_sensitivity_rules_to_conf()
948 sepol_printf(out, "category %s alias { %s };\n", name, alias); in write_category_rules_to_conf()
950 sepol_printf(out, "category %s alias %s;\n", name, alias); in write_category_rules_to_conf()
953 sepol_printf(out, "category %s;\n", name); in write_category_rules_to_conf()
1082 sepol_printf(out, "level %s:%s;\n", name, cats); in write_level_rules_to_conf()
1085 sepol_printf(out, "level %s;\n", name); in write_level_rules_to_conf()
1203 sepol_printf(out, "attribute %s;\n", name); in write_type_attributes_to_conf()
1248 sepol_printf(out, "attribute_role %s;\n", name); in write_role_attributes_to_conf()
1333 sepol_printf(out, "type %s;\n", name); in write_type_decl_rules_to_conf()
1386 sepol_printf(out, "typealias %s %s;\n", type, name); in write_type_alias_rules_to_conf()
1440 sepol_printf(out, "typebounds %s %s;\n", parent, child); in write_type_bounds_rules_to_conf()
1610 sepol_printf(out, "permissive %s;\n", name); in write_type_permissive_rules_to_conf()
2060 sepol_printf(out, "if (%s) {\n", expr); in write_cond_nodes_to_conf()
2070 sepol_printf(out, "} else {\n"); in write_cond_nodes_to_conf()
2076 sepol_printf(out, "}\n"); in write_cond_nodes_to_conf()
2127 sepol_printf(out, "role %s;\n", name); in write_role_decl_rules_to_conf()
2157 sepol_printf(out, "role %s types { %s };\n", name, p1); in write_role_decl_rules_to_conf()
2161 sepol_printf(out, "role %s types { %s };\n", name, types); in write_role_decl_rules_to_conf()
2289 sepol_printf(out, "user %s", name); in write_user_decl_rules_to_conf()
2299 sepol_printf(out, " roles { %s }", roles); in write_user_decl_rules_to_conf()
2301 sepol_printf(out, " roles %s", roles); in write_user_decl_rules_to_conf()
2312 sepol_printf(out, " level %s", level); in write_user_decl_rules_to_conf()
2320 sepol_printf(out, " range %s", range); in write_user_decl_rules_to_conf()
2323 sepol_printf(out, ";\n"); in write_user_decl_rules_to_conf()
2444 sepol_printf(out, "fs_use_%s %s %s;\n", behavior, name, ctx); in write_selinux_fsuse_rules_to_conf()
2544 sepol_printf(out, "portcon %s %s %s\n", protocol, low_high_str, ctx); in write_selinux_port_rules_to_conf()
2579 sepol_printf(out, "netifcon %s %s %s\n", name, ctx1, ctx2); in write_selinux_netif_rules_to_conf()
2620 sepol_printf(out, "nodecon %s %s %s\n", addr, mask, ctx); in write_selinux_node_rules_to_conf()
2661 sepol_printf(out, "nodecon %s %s %s\n", addr, mask, ctx); in write_selinux_node6_rules_to_conf()
2716 sepol_printf(out, "ibpkeycon %s %s %s\n", subnet_prefix_str, in write_selinux_ibpkey_rules_to_conf()
2753 sepol_printf(out, "ibendportcon %s %s %s\n", ibendportcon->u.ibendport.dev_name, port_str, ctx); in write_selinux_ibendport_rules_to_conf()
2796 sepol_printf(out, "pirqcon %s %s\n", pirq_str, ctx); in write_xen_pirq_rules_to_conf()
2839 sepol_printf(out, "ioportcon %s %s\n", low_high_str, ctx); in write_xen_ioport_rules_to_conf()
2882 sepol_printf(out, "iomemcon %s %s\n", low_high_str, ctx); in write_xen_iomem_rules_to_conf()
2917 sepol_printf(out, "pcidevicecon %s %s\n", device_str, ctx); in write_xen_pcidevice_rules_to_conf()
2946 sepol_printf(out, "devicetreecon %s %s\n", name, ctx); in write_xen_devicetree_rules_to_conf()