[selinux-policy/f18] We need to require passwd and rootok classes in zoneminder

Miroslav Grepl mgrepl at fedoraproject.org
Mon Aug 5 05:06:05 UTC 2013


commit 1ef7e426230e3ce82427659f5e005c534fb7cfcb
Author: Miroslav Grepl <mgrepl at redhat.com>
Date:   Mon Aug 5 07:05:35 2013 +0200

    We need to require passwd and rootok classes in zoneminder

 policy-f18-contrib.patch |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/policy-f18-contrib.patch b/policy-f18-contrib.patch
index 83ac88e..0d65509 100644
--- a/policy-f18-contrib.patch
+++ b/policy-f18-contrib.patch
@@ -78767,10 +78767,10 @@ index 0000000..b34b8b4
 +
 diff --git a/zoneminder.te b/zoneminder.te
 new file mode 100644
-index 0000000..87ffe90
+index 0000000..17a9a24
 --- /dev/null
 +++ b/zoneminder.te
-@@ -0,0 +1,167 @@
+@@ -0,0 +1,171 @@
 +policy_module(zoneminder, 1.0.0)
 +
 +########################################
@@ -78794,6 +78794,10 @@ index 0000000..87ffe90
 +## </desc>
 +gen_tunable(zoneminder_anon_write, false)
 +
++gen_require(`
++    class passwd rootok;
++')
++
 +type zoneminder_t;
 +type zoneminder_exec_t;
 +init_daemon_domain(zoneminder_t, zoneminder_exec_t)


More information about the scm-commits mailing list