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

[libvirt] [PATCH 0/2] avoid getpwuid_r deadlock



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

Posting now to get reviews started.  I'd especially like to get
feedback that it doesn't break LXC, and that it works with root-squash
NFS when using qemu:qemu instead of root:root in /etc/libvirt/qemu.conf.
I hope to do more testing myself, and also see if I can try writing an
LD_PRELOAD shim as part of 'make check' to make it easier to test that
the right system calls are made during the sequence.

Eric Blake (2):
  util: add virGetGroupList
  util: make virSetUIDGID async-signal-safe

 configure.ac                |   7 +--
 src/libvirt_private.syms    |   1 +
 src/security/security_dac.c |  16 ++++--
 src/util/vircommand.c       |  10 +++-
 src/util/virfile.c          |  30 +++++++++--
 src/util/virutil.c          | 123 ++++++++++++++++++++++++++++++--------------
 src/util/virutil.h          |   7 ++-
 7 files changed, 142 insertions(+), 52 deletions(-)

-- 
1.8.1.4


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