]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security_selinux: Take @privileged into account
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 10 Sep 2015 11:27:28 +0000 (13:27 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 15 Sep 2015 09:30:14 +0000 (11:30 +0200)
commit00e5b967168bab252ea2bef977ad40b4155f08df
tree9fd3dcb5feaa308a3720f891735ce8c8271f10a4
parent307fb9044c1c9a5394b66e6909c6fd943d7f84c8
security_selinux: Take @privileged into account

https://bugzilla.redhat.com/show_bug.cgi?id=1124841

If running in session mode it may happen that we fail to set
correct SELinux label, but the image may still be readable to
the qemu process. Take this into account.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/security/security_selinux.c