[selinux-policy/f17] Add couchdb server policy

Daniel J Walsh dwalsh at fedoraproject.org
Mon Mar 12 13:44:15 UTC 2012


commit 1c905c3cfa403444d03ffb82ff6a24cd9d8b6710
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Mon Mar 12 09:44:09 2012 -0400

    Add couchdb server policy

 modules-targeted.conf |    7 +++++++
 permissivedomains.te  |    7 +++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/modules-targeted.conf b/modules-targeted.conf
index 033569e..1cb3121 100644
--- a/modules-targeted.conf
+++ b/modules-targeted.conf
@@ -67,6 +67,13 @@ collectd = module
 # 
 colord = module
 
+# Layer: services
+# Module: couchdb
+#
+# Apache CouchDB database server
+# 
+couchdb = module
+
 # Layer: apps
 # Module: cpufreqselector 
 #
diff --git a/permissivedomains.te b/permissivedomains.te
index 921cfa7..74c5a37 100644
--- a/permissivedomains.te
+++ b/permissivedomains.te
@@ -1,5 +1,12 @@
 policy_module(permissivedomains,17)
 
+optional_policy(`
+	gen_require(`
+		type couchdb_t;
+	')
+
+	permissive couchdb_t;
+')
 
 optional_policy(`
 	gen_require(`


More information about the scm-commits mailing list