On Fri, 2011-06-24 at 16:09 +0100, Daniel P. Berrange wrote:
diff --git a/src/security/security_apparmor.c
b/src/security/security_apparmor.c
index 4d77643..50a7383 100644
--- a/src/security/security_apparmor.c
+++ b/src/security/security_apparmor.c
@@ -757,9 +757,9 @@ AppArmorRestoreSavedStateLabel(virSecurityManagerPtr mgr,
}
static int
-AppArmorSetFDLabel(virSecurityManagerPtr mgr,
- virDomainObjPtr vm,
- int fd)
+AppArmorSetImageFDLabel(virSecurityManagerPtr mgr,
+ virDomainObjPtr vm,
+ int fd)
{
int rc = -1;
char *proc = NULL;
@@ -818,5 +818,5 @@ virSecurityDriver virAppArmorSecurityDriver = {
AppArmorSetSavedStateLabel,
AppArmorRestoreSavedStateLabel,
- AppArmorSetFDLabel,
+ AppArmorSetImageFDLabel,
};
ACK
--
Jamie Strandboge |
http://www.canonical.com