[libvirt] PATCH 2/4: AppArmor updates

Jamie Strandboge jamie at canonical.com
Mon Aug 16 19:33:01 UTC 2010


On Mon, 2010-08-16 at 17:14 +0100, Daniel P. Berrange wrote:

> You can't blindly de-reference   data.file.path  - The 'file' struct
> is inside a union and is only valid for certain types of character 
> device VIR_DOMAIN_CHR_TYPE_PTY, TYPE_DEV, TYPE_FILE and TYPE_PIPE.
> The existing code for serial devices is broken too & can crash due
> to this

Hrmm. I always did it this. Maybe something changed and I missed it.
Regardless, thanks for this feedback! :) Attached is an updated patch.


-- 
Jamie Strandboge             | http://www.canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-apparmor-chardev.patch
Type: text/x-patch
Size: 5373 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100816/13101cbc/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100816/13101cbc/attachment-0001.sig>


More information about the libvir-list mailing list