]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix error handling when adding MCS labels
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 24 May 2012 15:52:18 +0000 (16:52 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 20 Jul 2012 19:17:19 +0000 (20:17 +0100)
commit2e668a61d5ae4cbd6f79e096d0c394f186e132bd
tree6c6b34812a2339e1fc03b2013e279a33cf47241e
parent12b187fb956bffbc67a090dcda89e66450503a4e
Fix error handling when adding MCS labels

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@redhat.com>
src/security/security_selinux.c