[libvirt] [PATCH] 4/10 AppArmor driver updates

Daniel P. Berrange berrange at redhat.com
Wed Apr 14 09:58:39 UTC 2010


On Mon, Apr 05, 2010 at 04:21:16PM -0500, Jamie Strandboge wrote:
> On Mon, 2010-04-05 at 16:15 -0500, Jamie Strandboge wrote:
> 
> > 4_qemu_driver_stdin_path.patch: adjust args to qemudStartVMDaemon() to
> > also specify path to stdin_fd, so this can be passed to the AppArmor
> > driver via *SetSecurityAllLabel(). This updates all calls to
> > qemudStartVMDaemon() as well as setting up the non-AppArmor security
> > driver *SetSecurityAllLabel() declarations for the above. This is
> > required for 5_apparmor-fix-save-restore.patch since AppArmor resolves
> > the passed file descriptor to the pathname given to open().

ACK, this is somewhat gross, but I don't see an immediate alternative
option.

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list