[node-patches] Change in ovirt-node[ovirt-3.5]: Allow netlink_audit_socket read for sblim_sfcbd_t

fabiand at redhat.com fabiand at redhat.com
Fri Jan 9 16:41:06 UTC 2015


Hello Ryan Barry,

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

    http://gerrit.ovirt.org/36740

to review the following change.

Change subject: Allow netlink_audit_socket read for sblim_sfcbd_t
......................................................................

Allow netlink_audit_socket read for sblim_sfcbd_t

Needed for CIM to auth correctly

Change-Id: I025e9b4243ae41d47e1fc25ae69c080a79499afb
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M semodule/ovirt.te.in
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/40/36740/1

diff --git a/semodule/ovirt.te.in b/semodule/ovirt.te.in
index f18d9e5..8d183e5 100644
--- a/semodule/ovirt.te.in
+++ b/semodule/ovirt.te.in
@@ -366,7 +366,7 @@
     }
     allow sblim_sfcbd_t chkpwd_exec_t:file { read execute open execute_no_trans };
     allow sblim_sfcbd_t self:capability { setuid audit_write dac_override };
-    allow sblim_sfcbd_t self:netlink_audit_socket { nlmsg_relay create write };
+    allow sblim_sfcbd_t self:netlink_audit_socket { nlmsg_relay create read write };
     allow sblim_sfcbd_t shadow_t:file { read getattr open };
     allow sblim_sfcbd_t user_tmp_t:sock_file { write unlink };
     allow sblim_sfcbd_t virt_etc_t:file { read open };


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I025e9b4243ae41d47e1fc25ae69c080a79499afb
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list