All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 1/1] Allow virtd to read the selinux config
@ 2012-03-26 18:55 Sven Vermeulen
  2012-04-20 20:38 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Vermeulen @ 2012-03-26 18:55 UTC (permalink / raw)
  To: refpolicy

The virt daemon uses libselinux for its SELinux support, which requires read access to /etc/selinux/config to read the
SELINUXTYPE setting (through the selinux_virtual_domain_context_path() call).

Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
---
 virt.te |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/virt.te b/virt.te
index 3eca020..01c2197 100644
--- a/virt.te
+++ b/virt.te
@@ -286,6 +286,7 @@ modutils_manage_module_config(virtd_t)
 
 logging_send_syslog_msg(virtd_t)
 
+seutil_read_config(virtd_t)
 seutil_read_default_contexts(virtd_t)
 
 sysnet_domtrans_ifconfig(virtd_t)
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-20 20:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26 18:55 [refpolicy] [PATCH 1/1] Allow virtd to read the selinux config Sven Vermeulen
2012-04-20 20:38 ` Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.