From e3248078a3756e931de0b3a23bb85f2be4ab39aa Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Tue, 22 Apr 2014 08:41:06 -0400 Subject: [PATCH] Add cockpit policy --- modules-targeted-contrib.conf | 7 +++++++ permissivedomains.te | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/modules-targeted-contrib.conf b/modules-targeted-contrib.conf index 65bee05f..5b464e74 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 b36e7d2f..6889f2e7 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; +')