[selinux-policy/f17] Add openvswitch policy

Miroslav Grepl mgrepl at fedoraproject.org
Tue Dec 4 16:03:21 UTC 2012


commit d01307fe1af7688b53c3ee2d38fc451c953e7162
Author: Miroslav Grepl <mgrepl at redhat.com>
Date:   Tue Dec 4 17:02:11 2012 +0100

    Add openvswitch policy

 modules-targeted.conf |    7 +++++++
 permissivedomains.pp  |  Bin 100488 -> 102322 bytes
 permissivedomains.te  |    8 ++++++++
 3 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/modules-targeted.conf b/modules-targeted.conf
index f7d1fbe..25a0dea 100644
--- a/modules-targeted.conf
+++ b/modules-targeted.conf
@@ -2584,3 +2584,10 @@ openshift = module
 #  policy for openshift
 #
 openshift-origin = module
+
+# Layer: contrib
+# Module: openvswitch
+#
+# SELinux policy for openvswitch programs
+#
+openvswitch = module
diff --git a/permissivedomains.pp b/permissivedomains.pp
index 04e0563..6b0d6a6 100644
Binary files a/permissivedomains.pp and b/permissivedomains.pp differ
diff --git a/permissivedomains.te b/permissivedomains.te
index fac5bb1..74d91a7 100644
--- a/permissivedomains.te
+++ b/permissivedomains.te
@@ -184,3 +184,11 @@ optional_policy(`
 
     permissive rhnsd_t;
 ')
+
+optional_policy(`
+    gen_require(`
+		type openvswitch;
+	')
+	permissive openvswitch;
+')
+


More information about the scm-commits mailing list