[PATCH v2 0/4] Couple of seclabels improvements

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[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]