[libvirt] [PATCH v2 0/4] Couple of seclabels improvements

Michal Privoznik mprivozn at redhat.com
Thu Jul 10 14:04:48 UTC 2014


diff to v1:
- rework the 3rd patch
- introduce one more bugfix

Michal Privoznik (4):
  virSecurityLabelDef: substitute 'norelabel' with 'relabel'
  virSecurityDeviceLabelDef: substitute 'norelabel' with 'relabel'
  conf: Always format seclabel's model
  conf: Don't allow multiple seclabels for same model

 src/conf/domain_conf.c                             | 67 ++++++++++++----------
 src/security/security_apparmor.c                   | 10 ++--
 src/security/security_dac.c                        | 22 +++----
 src/security/security_manager.c                    |  2 +-
 src/security/security_selinux.c                    | 32 +++++------
 src/util/virseclabel.c                             |  2 +-
 src/util/virseclabel.h                             |  4 +-
 .../qemuxml2argv-seclabel-dynamic-none.xml         | 28 +++++++++
 .../qemuxml2argv-seclabel-multiple.xml             | 40 +++++++++++++
 tests/qemuxml2argvtest.c                           |  1 +
 tests/qemuxml2xmltest.c                            |  1 +
 11 files changed, 142 insertions(+), 67 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-seclabel-dynamic-none.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-seclabel-multiple.xml

-- 
1.8.5.5




More information about the libvir-list mailing list