[PATCH 0/6] Restore seclabels on the correct path on 'virsh restore'

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

 



When restoring a domain from a block device a harmless error is
reported. See 6/6 for explanation. But anyway, still worth fixing.

Michal Prívozník (6):
  qemu: Use qemuSecurityDomainSetPathLabel() to set seclabes on not
    saved state files
  qemu: Drop unused qemuSecuritySetSavedStateLabel()
  security: Drop unused virSecurityManagerSetSavedStateLabel()
  security: Rename virSecurityManagerRestoreSavedStateLabel()
  qemu: Rename qemuSecurityRestoreSavedStateLabel()
  qemuSecurityDomainRestorePathLabel: Introduce @ignoreNS argument

 src/libvirt_private.syms         |  3 +-
 src/qemu/qemu_driver.c           |  6 +--
 src/qemu/qemu_security.c         | 43 ++++---------------
 src/qemu/qemu_security.h         |  9 ++--
 src/security/security_apparmor.c | 18 ++------
 src/security/security_dac.c      | 46 +++++---------------
 src/security/security_driver.h   | 13 ++----
 src/security/security_manager.c  | 63 +++++++++++++---------------
 src/security/security_manager.h  | 11 +++--
 src/security/security_nop.c      | 19 ---------
 src/security/security_selinux.c  | 49 +++++++---------------
 src/security/security_stack.c    | 72 +++++++++-----------------------
 12 files changed, 101 insertions(+), 251 deletions(-)

-- 
2.26.2




[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