]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security: selinux: Take parent security label into account
authorPeter Krempa <pkrempa@redhat.com>
Tue, 17 Oct 2017 06:03:42 +0000 (08:03 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 3 Nov 2017 08:15:41 +0000 (09:15 +0100)
commitcc16fa2a85d038caa8a9327ed6c36630ed133aec
tree3981df6af2b24c579e5912c627be73af970fa284
parent2742dfee28dd89310340ac6a0cc30e0285d11c1d
security: selinux: Take parent security label into account

Until now we ignored user-provided backing chains and while detecting
the code inherited labels of the parent device. With user provided
chains we should keep this functionality, so label of the parent image
in the backing chain will be applied if an image-specific label is not
present.
src/security/security_selinux.c