[node-patches] Change in ovirt-node[ovirt-3.5]: ovirt.te: Add systemd_logind_t:unconfined_service_t

fabiand at redhat.com fabiand at redhat.com
Tue Nov 25 17:38:09 UTC 2014


Hello Douglas Schilling Landgraf,

I'd like you to do a code review.  Please visit

    http://gerrit.ovirt.org/35564

to review the following change.

Change subject: ovirt.te: Add systemd_logind_t:unconfined_service_t
......................................................................

ovirt.te: Add systemd_logind_t:unconfined_service_t

This patch adds:
  allow systemd_logind_t unconfined_service_t:dbus send_msg;

Change-Id: I172fc272e2fda850139341b07f268528e4bee249
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M semodule/ovirt.te.in
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/64/35564/1

diff --git a/semodule/ovirt.te.in b/semodule/ovirt.te.in
index 2bec362..f18d9e5 100644
--- a/semodule/ovirt.te.in
+++ b/semodule/ovirt.te.in
@@ -48,6 +48,14 @@
     type virt_var_run_t;
 ')
 
+#======== systemd_logind_t ==========
+optional_policy(`
+    require {
+        type systemd_logind_t;
+        type unconfined_service_t;
+    }
+    allow systemd_logind_t unconfined_service_t:dbus send_msg;
+')
 
 #============= brctl_t ==============
 optional_policy(`


-- 
To view, visit http://gerrit.ovirt.org/35564
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I172fc272e2fda850139341b07f268528e4bee249
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>



More information about the node-patches mailing list