[libvirt] [PATCH] Pass virSecurityManagerPtr to virSecurityDAC{Set, Restore}ChardevCallback

Eric Blake eblake at redhat.com
Thu Mar 3 15:12:56 UTC 2011


On 03/03/2011 07:47 AM, Soren Hansen wrote:
> virSecurityDAC{Set,Restore}ChardevCallback expect virSecurityManagerPtr,
> but are passed virDomainObjPtr instead. This makes
> virSecurityDACSetChardevLabel set a wrong uid/gid on chardevs. This
> patch fixes this behaviour.
> 
> Signed-off-by: Soren Hansen <soren at linux2go.dk>
> ---
>  src/security/security_dac.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

ACK and pushed.  It slipped in during the refactoring, when I didn't
catch that the opaque type changed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110303/522381ab/attachment-0001.sig>


More information about the libvir-list mailing list