[libvirt] [PATCH] fix AppArmor driver for pipe character devices

Jamie Strandboge jamie at canonical.com
Tue Sep 27 18:44:59 UTC 2011


The AppArmor security driver adds only the path specified in the domain
XML for character devices of type 'pipe'. It should be using <path>.in
and <path>.out. We do this by creating a new vah_add_file_chardev() and
use it for char devices instead of vah_add_file(). Also adjust
valid_path() to accept S_FIFO (since qemu chardevs of type 'pipe' use
fifos). This is https://launchpad.net/bugs/832507

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


More information about the libvir-list mailing list