Re: [PATCH 4/7] qemu_tpm: Restore TPM labels on failed start

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

 



On Wed, Dec 21, 2022 at 08:43:54 +0100, Michal Privoznik wrote:
> If swtpm binary fails to start after successful exec() (e.g. it
> fails to initialize itself), the seclabels set in
> qemuSecurityStartTPMEmulator() are not restored. This is due to
> lacking qemuSecurityRestoreTPMLabels() call in the error path.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/qemu/qemu_tpm.c | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Peter Krempa <pkrempa@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