[libvirt] [PATCH] Fix save and restore with non-privileged guests and SELinux

Jamie Strandboge jamie at canonical.com
Thu Nov 12 12:48:29 UTC 2009


On Wed, 11 Nov 2009, Daniel P. Berrange wrote:

> +typedef int (*virSecurityDomainRestoreSavedStateLabel) (virConnectPtr conn,
> +                                                        const char *savefile);
...
> +static int
> +SELinuxRestoreSavedStateLabel(virConnectPtr conn,
> +                              const char *savefile)
> +{
> +    return SELinuxRestoreSecurityFileLabel(conn, savefile);
> +}
> +
> +

Can these be updated to have 'virDomainObjPtr vm ATTRIBUTE_UNUSED'? This
will need to be added for the AppArmor driver support.

Jamie

-- 
Jamie Strandboge             | http://www.canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20091112/feed4430/attachment-0001.sig>


More information about the libvir-list mailing list