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

Michal Privoznik mprivozn at redhat.com
Mon Jul 27 08:31:07 UTC 2020

These were sent to the libvirt-security list, where they were reviewed.
And before that, I've sent them to the public list:


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(-)


More information about the libvir-list mailing list