[selinux-policy] Add cockpit policy

Daniel J Walsh dwalsh at fedoraproject.org
Tue Apr 22 12:41:47 UTC 2014


commit e3248078a3756e931de0b3a23bb85f2be4ab39aa
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Tue Apr 22 08:41:06 2014 -0400

    Add cockpit policy

 modules-targeted-contrib.conf |    7 +++++++
 permissivedomains.te          |    7 +++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/modules-targeted-contrib.conf b/modules-targeted-contrib.conf
index 65bee05..5b464e7 100644
--- a/modules-targeted-contrib.conf
+++ b/modules-targeted-contrib.conf
@@ -349,6 +349,13 @@ cmirrord = module
 # 
 cobbler = module
 
+# Layer: contrib
+# Module: cockpit
+#
+# cockpit - Cockpit runs in a browser and can manage your network of GNU/Linux machines.
+# 
+cockpit = module
+
 # Layer: services
 # Module: collectd
 #
diff --git a/permissivedomains.te b/permissivedomains.te
index b36e7d2..6889f2e 100644
--- a/permissivedomains.te
+++ b/permissivedomains.te
@@ -27,3 +27,10 @@ optional_policy(`
     ')
     permissive gear_t;
 ')
+
+optional_policy(`
+    gen_require(`
+                type cockpit_t;
+    ')
+    permissive cockpit_t;
+')


More information about the scm-commits mailing list