]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_security: Introduce ImageLabel APIs
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 3 Feb 2017 16:09:33 +0000 (17:09 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 9 Feb 2017 07:04:57 +0000 (08:04 +0100)
commitc2130c0d471eb3b7440bc4b80221fc53afedc455
tree19020d9bb30f943c8c3ef670678cf91e198a4790
parentc89a6e7878e630718cce0af940e9c070c132ce30
qemu_security: Introduce ImageLabel APIs

Just like we need wrappers over other virSecurityManager APIs, we
need one for virSecurityManagerSetImageLabel and
virSecurityManagerRestoreImageLabel. Otherwise we might end up
relabelling device in wrong namespace.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_security.c
src/qemu/qemu_security.h