[refpolicy] [PATCH 1/1] Allow virtd to read the selinux config

Christopher J. PeBenito cpebenito at tresys.com
Fri Apr 20 15:38:06 CDT 2012


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 <sven.vermeulen at 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)

Merged.

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


More information about the refpolicy mailing list