• Home
  • Raw
  • Download

Lines Matching refs:sepol_printf

421 	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()
578 sepol_printf(out, "(sidorder ("); in write_sids_to_cil()
586 sepol_printf(out, "%s ", prev); in write_sids_to_cil()
591 sepol_printf(out, "%s", prev); in write_sids_to_cil()
593 sepol_printf(out, "))\n"); in write_sids_to_cil()
641 sepol_printf(out, "(defaultuser %s %s)\n", class_name, dft); in write_default_user_to_cil()
661 sepol_printf(out, "(defaultrole %s %s)\n", class_name, dft); in write_default_role_to_cil()
681 sepol_printf(out, "(defaulttype %s %s)\n", class_name, dft); in write_default_type_to_cil()
716 sepol_printf(out, "(defaultrange %s %s)\n", class_name, dft); in write_default_range_to_cil()
785 sepol_printf(out, "(sensitivity s0)\n"); in write_default_mls_level()
786 sepol_printf(out, "(sensitivityorder (s0))\n"); in write_default_mls_level()
787 sepol_printf(out, "(level %s (s0))\n", DEFAULT_LEVEL); in write_default_mls_level()
825 sepol_printf(out, "(sensitivity %s)\n", name); in write_sensitivity_rules_to_cil()
829 sepol_printf(out, "(sensitivityorder ("); in write_sensitivity_rules_to_cil()
834 sepol_printf(out, "%s ", prev); in write_sensitivity_rules_to_cil()
839 sepol_printf(out, "%s", prev); in write_sensitivity_rules_to_cil()
841 sepol_printf(out, "))\n"); in write_sensitivity_rules_to_cil()
869 sepol_printf(out, "(sensitivityalias %s)\n", name); in write_sensitivity_rules_to_cil()
881 sepol_printf(out, "(sensitivityaliasactual %s %s)\n", name, actual); in write_sensitivity_rules_to_cil()
929 sepol_printf(out, "(category %s)\n", name); in write_category_rules_to_cil()
933 sepol_printf(out, "(categoryorder ("); in write_category_rules_to_cil()
938 sepol_printf(out, "%s ", prev); in write_category_rules_to_cil()
943 sepol_printf(out, "%s", prev); in write_category_rules_to_cil()
945 sepol_printf(out, "))\n"); in write_category_rules_to_cil()
973 sepol_printf(out, "(categoryalias %s)\n", name); in write_category_rules_to_cil()
985 sepol_printf(out, "(categoryaliasactual %s %s)\n", name, actual); in write_category_rules_to_cil()
1111 sepol_printf(out, "(sensitivitycategory %s %s)\n", name, cats); in write_sensitivitycategory_rules_to_cil()
1129 sepol_printf(out, "(mls false)\n"); in write_mls_rules_to_cil()
1135 sepol_printf(out, "(mls true)\n"); in write_mls_rules_to_cil()
1233 sepol_printf(out, "(typeattribute %s)\n", name); in write_type_attributes_to_cil()
1278 sepol_printf(out, "(roleattribute %s)\n", name); in write_role_attributes_to_cil()
1363 sepol_printf(out, "(type %s)\n", name); in write_type_decl_rules_to_cil()
1431 sepol_printf(out, "(typealias %s)\n", name); in write_type_alias_rules_to_cil()
1446 sepol_printf(out, "(typealiasactual %s %s)\n", name, type); in write_type_alias_rules_to_cil()
1500 sepol_printf(out, "(typebounds %s %s)\n", parent, child); in write_type_bounds_rules_to_cil()
1590 sepol_printf(out, "(typepermissive %s)\n", name); in write_type_permissive_rules_to_cil()
2126 sepol_printf(out, "(booleanif %s\n", expr); in write_cond_nodes_to_cil()
2130 sepol_printf(out, "(true\n"); in write_cond_nodes_to_cil()
2136 sepol_printf(out, ")\n"); in write_cond_nodes_to_cil()
2141 sepol_printf(out, "(false\n"); in write_cond_nodes_to_cil()
2147 sepol_printf(out, ")\n"); in write_cond_nodes_to_cil()
2149 sepol_printf(out, ")\n"); in write_cond_nodes_to_cil()
2201 sepol_printf(out, "(role %s)\n", name); in write_role_decl_rules_to_cil()
2217 sepol_printf(out, "(rolebounds %s %s)\n", parent, child); in write_role_decl_rules_to_cil()
2247 sepol_printf(out, "(roletype %s %s)\n", name, type); in write_role_decl_rules_to_cil()
2279 sepol_printf(out, "(roletype %s %s)\n", DEFAULT_OBJECT, name); in write_role_decl_rules_to_cil()
2401 sepol_printf(out, "(user %s)\n", name); in write_user_decl_rules_to_cil()
2439 sepol_printf(out, "(userrole %s %s)\n", name, role); in write_user_decl_rules_to_cil()
2457 sepol_printf(out, "(userlevel %s ", name); in write_user_decl_rules_to_cil()
2465 sepol_printf(out, "%s", level); in write_user_decl_rules_to_cil()
2468 sepol_printf(out, "%s", DEFAULT_LEVEL); in write_user_decl_rules_to_cil()
2470 sepol_printf(out, ")\n"); in write_user_decl_rules_to_cil()
2485 sepol_printf(out, "(userrange %s ", name); in write_user_decl_rules_to_cil()
2492 sepol_printf(out, "%s", range); in write_user_decl_rules_to_cil()
2495 sepol_printf(out, "(%s %s)", DEFAULT_LEVEL, DEFAULT_LEVEL); in write_user_decl_rules_to_cil()
2497 sepol_printf(out, ")\n"); in write_user_decl_rules_to_cil()
2624 sepol_printf(out, "(fsuse %s %s %s)\n", behavior, name, ctx); in write_selinux_fsuse_rules_to_cil()
2724 sepol_printf(out, "(portcon %s %s %s)\n", protocol, low_high_str, ctx); in write_selinux_port_rules_to_cil()
2759 sepol_printf(out, "(netifcon %s %s %s)\n", name, ctx1, ctx2); in write_selinux_netif_rules_to_cil()
2800 sepol_printf(out, "(nodecon (%s) (%s) %s)\n", addr, mask, ctx); in write_selinux_node_rules_to_cil()
2840 sepol_printf(out, "(nodecon (%s) (%s) %s)\n", addr, mask, ctx); in write_selinux_node6_rules_to_cil()
2894 sepol_printf(out, "(ibpkeycon %s %s %s)\n", subnet_prefix_str, low_high_str, ctx); in write_selinux_ibpkey_rules_to_cil()
2930 sepol_printf(out, "(ibendportcon %s %s %s)\n", in write_selinux_ibendport_rules_to_cil()
2971 sepol_printf(out, "(pirqcon %s %s)\n", pirq_str, ctx); in write_xen_pirq_rules_to_cil()
3014 sepol_printf(out, "(ioportcon %s %s)\n", low_high_str, ctx); in write_xen_ioport_rules_to_cil()
3057 sepol_printf(out, "(iomemcon %s %s)\n", low_high_str, ctx); in write_xen_iomem_rules_to_cil()
3092 sepol_printf(out, "(pcidevicecon %s %s)\n", device_str, ctx); in write_xen_pcidevice_rules_to_cil()
3121 sepol_printf(out, "(devicetreecon \"%s\" %s)\n", name, ctx); in write_xen_devicetree_rules_to_cil()