2012-03-26 18:55:18

by sven.vermeulen

[permalink] [raw]
Subject: [refpolicy] [PATCH 1/1] Allow virtd to read the selinux config

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 <[email protected]>
---
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


2012-04-20 20:38:06

by cpebenito

[permalink] [raw]
Subject: [refpolicy] [PATCH 1/1] Allow virtd to read the selinux config

On 03/26/12 14:55, Sven Vermeulen wrote:
> 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 <[email protected]>
> ---
> 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)

Merged.

--
Chris PeBenito
Tresys Technology, LLC
http://www.tresys.com | oss.tresys.com