[libvirt] [PATCH v2 2/3] Fix error handling when adding MCS labels

Eric Blake eblake at redhat.com
Fri Jul 20 17:08:02 UTC 2012


On 07/20/2012 10:59 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> When adding MCS labels, OOM was not being handled correctly.
> In addition when reserving an existing label, no check was
> made to see if it was already reserved
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/security/security_selinux.c |   41 ++++++++++++++++++++++++++++++---------
>  1 file changed, 32 insertions(+), 9 deletions(-)
> 

ACK.

-- 
Eric Blake   eblake at 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: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120720/de995a1e/attachment-0001.sig>


More information about the libvir-list mailing list