[node-patches] Change in ovirt-node[master]: ovirt.te: add dhcpc_t type

dougsland at redhat.com dougsland at redhat.com
Wed Oct 1 14:22:36 UTC 2014


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: ovirt.te: add dhcpc_t type
......................................................................

ovirt.te: add dhcpc_t type

This patch adds:
   allow dhcpc_t tmpfs_t:file { read };
   allow dhcpc_t hostname_t:process { siginh noatsecure rlimitinh };

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


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/48/33648/1

diff --git a/semodule/ovirt.te.in b/semodule/ovirt.te.in
index 30b2ff7..0426039 100644
--- a/semodule/ovirt.te.in
+++ b/semodule/ovirt.te.in
@@ -241,8 +241,9 @@
         type user_tmpfs_t;
     }
     allow dhcpc_t tmpfs_t:dir { write add_name read };
-    allow dhcpc_t tmpfs_t:file { write create open getattr };
+    allow dhcpc_t tmpfs_t:file { write create open getattr read };
     allow dhcpc_t user_tmpfs_t:file { read getattr open };
+    allow dhcpc_t hostname_t:process { siginh noatsecure rlimitinh };
 ')
 
 optional_policy(`


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I097f3ebc1ffa055504719c3ddc4f6c1de5e94c51
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>



More information about the node-patches mailing list