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 <[email protected]> > --- Reviewed-by: Erik Skultety <[email protected]>
- [PATCH 0/6] Restore seclabels on the correct path on 'vir... Michal Privoznik
- [PATCH 1/6] qemu: Use qemuSecurityDomainSetPathLabel... Michal Privoznik
- Re: [PATCH 1/6] qemu: Use qemuSecurityDomainSetP... Erik Skultety
- [PATCH 5/6] qemu: Rename qemuSecurityRestoreSavedSta... Michal Privoznik
- Re: [PATCH 5/6] qemu: Rename qemuSecurityRestore... Erik Skultety
- [PATCH 4/6] security: Rename virSecurityManagerResto... Michal Privoznik
- Re: [PATCH 4/6] security: Rename virSecurityMana... Erik Skultety
- [PATCH 3/6] security: Drop unused virSecurityManager... Michal Privoznik
- Re: [PATCH 3/6] security: Drop unused virSecurit... Erik Skultety
- [PATCH 6/6] qemuSecurityDomainRestorePathLabel: Intr... Michal Privoznik
- Re: [PATCH 6/6] qemuSecurityDomainRestorePathLab... Erik Skultety
- [PATCH 2/6] qemu: Drop unused qemuSecuritySetSavedSt... Michal Privoznik
- Re: [PATCH 2/6] qemu: Drop unused qemuSecuritySe... Erik Skultety
