[libvirt] [PATCH v2 0/5] Apparmor support for less common devices

Christian Ehrhardt posted 5 patches 6 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/1521634254-26576-1-git-send-email-christian.ehrhardt@canonical.com
Test syntax-check passed
There is a newer version of this series
src/security/security_apparmor.c | 88 ++++++++++++++++++++++++++++++++++++++++
src/security/virt-aa-helper.c    | 16 ++++++++
tests/virt-aa-helper-test        | 88 ++++++++++++++++++++++++----------------
3 files changed, 158 insertions(+), 34 deletions(-)
[libvirt] [PATCH v2 0/5] Apparmor support for less common devices
Posted by Christian Ehrhardt 6 years, 1 month ago
So far users added manual rules for most of these uncommon devices,
but recent changes made some of the callbacks mandatory for hotplug
so we should take shot at implementing them as those callbacks as well
as for the initial start of a guest via virt-aa-helper.

*Updates since v1*
 - (Set|Restore)*Label: remove seclabel check already done in reload_profile
 - virt-aa-helper: check pointers before accessing them
 - add tests for new virt-aa-helper supported xml elements
 - extend tests to check for expected content (new patch in series)

Christian Ehrhardt (5):
  security, apparmor: add (Set|Restore)MemoryLabel
  security, apparmor: add (Set|Restore)InputLabel
  virt-aa-helper: generate rules for passthrough input devices
  virt-aa-helper: generate rules for nvdimm memory
  virt-aa-helper: test: check for expected profile content

 src/security/security_apparmor.c | 88 ++++++++++++++++++++++++++++++++++++++++
 src/security/virt-aa-helper.c    | 16 ++++++++
 tests/virt-aa-helper-test        | 88 ++++++++++++++++++++++++----------------
 3 files changed, 158 insertions(+), 34 deletions(-)

-- 
2.7.4

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