[PATCH 0/4] Don't leak /dev/mapper/control to QEMU

Michal Privoznik posted 4 patches 1 week ago
Failed in applying to current master (apply log)
po/POTFILES.in          |   1 +
src/qemu/qemu_cgroup.c  |   2 +-
src/qemu/qemu_domain.c  |   4 +-
src/util/virdevmapper.c | 337 +++++++++++++++++++++++++++-------------
4 files changed, 232 insertions(+), 112 deletions(-)

[PATCH 0/4] Don't leak /dev/mapper/control to QEMU

Posted by Michal Privoznik 1 week ago
These were sent to the libvirt-security list, where they were reviewed.
And before that, I've sent them to the public list:

https://www.redhat.com/archives/libvir-list/2020-July/msg01500.html

Anyway, I'm resending here for future reference. Patches are merged so
no need to review.

We are still using libdevmapper after these in
src/storage/storage_backend_mpath.c and thus I'm not removing configure
check. But in time for the next release I will look into it.

Michal Prívozník (4):
  virdevmapper.c: Join two WITH_DEVMAPPER sections together
  virDevMapperGetTargetsImpl: Use VIR_AUTOSTRINGLIST
  virdevmapper: Don't use libdevmapper to obtain dependencies
  virDevMapperGetTargets: Don't ignore EBADF

 po/POTFILES.in          |   1 +
 src/qemu/qemu_cgroup.c  |   2 +-
 src/qemu/qemu_domain.c  |   4 +-
 src/util/virdevmapper.c | 337 +++++++++++++++++++++++++++-------------
 4 files changed, 232 insertions(+), 112 deletions(-)

-- 
2.26.2