[selinux-policy/f18] Add new domain for mandb

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 4 11:25:32 UTC 2012


commit 0ffe1622b161afb1245713bdeb83067843006940
Author: rhatdan <dwalsh at redhat.com>
Date:   Thu Oct 4 07:25:23 2012 -0400

    Add new domain for mandb

 modules-mls.conf      |    7 +++++++
 modules-targeted.conf |    7 +++++++
 permissivedomains.te  |    8 ++++++++
 3 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/modules-mls.conf b/modules-mls.conf
index 1c347fe..a02566d 100644
--- a/modules-mls.conf
+++ b/modules-mls.conf
@@ -860,6 +860,13 @@ mcelog = module
 # 
 mailman = module
 
+# Layer: contrib
+# Module: mandb
+# 
+# Policy for mandb
+# 
+mandb = module
+
 # Layer: kernel
 # Module: mcs
 # Required in base
diff --git a/modules-targeted.conf b/modules-targeted.conf
index 21c1bc1..0d082ee 100644
--- a/modules-targeted.conf
+++ b/modules-targeted.conf
@@ -1019,6 +1019,13 @@ mailman = module
 # 
 mailscanner = module
 
+# Layer: contrib
+# Module: mandb
+# 
+# Policy for mandb
+# 
+mandb = module
+
 # Layer: admin
 # Module: mcelog
 #
diff --git a/permissivedomains.te b/permissivedomains.te
index 2e6674f..974fd95 100644
--- a/permissivedomains.te
+++ b/permissivedomains.te
@@ -2,6 +2,14 @@ policy_module(permissivedomains,18)
 
 optional_policy(`
     gen_require(`
+                type mandb_t;
+        ')
+
+        permissive mandb_t;
+')
+
+optional_policy(`
+    gen_require(`
                 type sensord_t;
         ')
 


More information about the scm-commits mailing list