]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add stdin_path to qemudStartVMDaemon() args.
authorJamie Strandboge <jamie@ubuntu.com>
Fri, 4 Jun 2010 16:20:29 +0000 (12:20 -0400)
committerLaine Stump <laine@laine.org>
Mon, 7 Jun 2010 18:41:09 +0000 (14:41 -0400)
commit2b57478ef0a0a983cc6a47b98300c8359f9708d0
treea9d736ccaa442e3d57a8187fec4489fb1cd305b3
parentef77388ba4ba0bf37d426a7c2f7a983571acc3ea
Add stdin_path to qemudStartVMDaemon() args.

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 the following
"apparmor-fix-save-restore" patch since AppArmor resolves the passed
file descriptor to the pathname given to open().
src/qemu/qemu_driver.c
src/qemu/qemu_security_dac.c
src/qemu/qemu_security_stacked.c
src/security/security_driver.h
src/security/security_selinux.c