[libvirt] [PATCH] Fix query of LXC security label
Eric Blake
eblake at redhat.com
Wed Mar 13 14:46:38 UTC 2013
On 03/12/2013 11:35 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> The virDomainGetSecurityLabel method is currently (mistakenly)
> showing the label of the libvirt_lxc process:
>
> ...snip...
> Security model: selinux
> Security DOI: 0
> Security label: system_u:system_r:virtd_t:s0-s0:c0.c1023 (permissive)
>
> when it should be showing the init process label
>
> ...snip...
> Security model: selinux
> Security DOI: 0
> Security label: system_u:system_r:svirt_t:s0:c724,c995 (permissive)
> ---
> src/lxc/lxc_driver.c | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130313/1262af62/attachment-0001.sig>
More information about the libvir-list
mailing list