Re: [PATCH 1/6] qemu: Use qemuSecurityDomainSetPathLabel() to set seclabes on not saved state files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 17, 2020 at 01:35:35PM +0200, Michal Privoznik wrote:
> There are two places within qemu driver that misuse
> qemuSecuritySetSavedStateLabel() to set seclabels on tempfiles
> that are not state files: qemuDomainScreenshot() and
> qemuDomainMemoryPeek(). They are doing so because of lack of
> qemuSecurityDomainSetPathLabel() at the time of their
> introduction.
>
> In all three secdrivers (well, four if you count NOP driver) the
> implementation of .domainSetSavedStateLabel and
> .domainSetPathLabel callbacks is the same anyway.
>
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux