[libvirt] [PATCH 0/7] backport of getGroupList to v0.10.2-maint

Eric Blake eblake at redhat.com
Tue Jul 23 15:03:53 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=964358

Since it was on Fedora 18 that I first noticed the deadlock possible
when a child process calls getpwuid_r while the parent owned the
lock in a different thread, I'm interested in backporting my recent
work on virGetGroupList to v0.10.2-maint.  However, I hit enough
conflict resolution that I'd like a review of my backport decisions
before pushing this to the stable branch.

Daniel P. Berrange (1):
  Fix potential deadlock across fork() in QEMU driver

Eric Blake (6):
  util: improve user lookup helper
  util: add virGetGroupList
  util: make virSetUIDGID async-signal-safe
  security: framework for driver PreFork handler
  security_dac: compute supplemental groups before fork
  security: fix deadlock with prefork

 configure.ac                    |   6 +-
 src/libvirt_private.syms        |   3 +
 src/lxc/lxc_container.c         |   2 +-
 src/qemu/qemu_process.c         |   8 ++
 src/security/security_dac.c     |  56 ++++++++--
 src/security/security_driver.h  |   4 +
 src/security/security_manager.c |  30 +++++
 src/security/security_manager.h |   3 +
 src/security/security_stack.c   |  28 +++++
 src/storage/storage_backend.c   |  16 ++-
 src/util/util.c                 | 237 ++++++++++++++++++++++++----------------
 src/util/util.h                 |   4 +-
 12 files changed, 285 insertions(+), 112 deletions(-)

-- 
1.8.3.1




More information about the libvir-list mailing list