[libvirt] [PATCH 07/10] selinux: Resolve resource leak using the default disk label

Peter Krempa pkrempa at redhat.com
Thu Jan 17 19:27:21 UTC 2013


On 01/17/13 20:17, John Ferlan wrote:
> Commit id a994ef2d1 changed the mechanism to store/update the default
> security label from using disk->seclabels[0] to allocating one on the
> fly. That change allocated the label, but never saved it.  This patch
> will save the label.
> ---
>   src/conf/domain_conf.c          | 29 +++++++++++++++++++++++++++++
>   src/conf/domain_conf.h          |  3 +++
>   src/security/security_selinux.c |  6 +++---
>   3 files changed, 35 insertions(+), 3 deletions(-)
>

This patch might be the fix for:

https://bugzilla.redhat.com/show_bug.cgi?id=891324 and
https://bugzilla.redhat.com/show_bug.cgi?id=891324





More information about the libvir-list mailing list