[selinux-policy] add openstack swift domain

Daniel J Walsh dwalsh at fedoraproject.org
Mon Feb 4 22:03:33 UTC 2013


commit 13b7212ad0f03fef107091d2eec916eb1c6d4c1e
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Mon Feb 4 17:03:20 2013 -0500

    add openstack swift domain

 modules-targeted-contrib.conf |    7 +++++++
 permissivedomains.te          |    8 ++++++++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/modules-targeted-contrib.conf b/modules-targeted-contrib.conf
index e2bab2c..d08ca0b 100644
--- a/modules-targeted-contrib.conf
+++ b/modules-targeted-contrib.conf
@@ -1895,6 +1895,13 @@ stunnel = module
 svnserve =  module
 
 # Layer: services
+# Module: swift
+#
+#  openstack-swift
+#
+swift = module
+
+# Layer: services
 # Module: sysstat
 #
 # Policy for sysstat. Reports on various system states
diff --git a/permissivedomains.te b/permissivedomains.te
index f3f8e88..925fc39 100644
--- a/permissivedomains.te
+++ b/permissivedomains.te
@@ -40,3 +40,11 @@ optional_policy(`
         permissive openshift_cron_t;
 ')
 
+optional_policy(`
+    gen_require(`
+                type swift_t;
+        ')
+
+        permissive swift_t;
+')
+


More information about the scm-commits mailing list