[PATCH 00/11] nfs-utils: Misc cleanups & fixes

Doug Nazar
2020-07-18T09:24:58Z

Again, here are various cleanups and fixes. Nothing too major, although
a couple valgrind finds.

I've left out the printf patch for now, pending further discussion.

Thanks,
Doug

Doug Nazar (11):
Add error handling to libevent allocations.
gssd: Fix cccache buffer size
gssd: Fix handling of failed allocations
gssd: srchost should never be *
xlog: Reorganize xlog_backend() to work around -Wmaybe-uninitialized
nfsdcld: Add graceful exit handling and resource cleanup
nfsdcld: Don't copy more data than exists in column
svcgssd: Convert to using libevent
nfsidmap: Add support to cleanup resources on exit
svcgssd: Cleanup global resources on exit
svcgssd: Wait for nullrpc channel if not available

support/nfs/xlog.c | 41 ++++----
support/nfsidmap/libnfsidmap.c | 13 +++
support/nfsidmap/nfsidmap.h | 1 +
support/nfsidmap/nfsidmap_common.c | 11 ++-
support/nfsidmap/nfsidmap_private.h | 1 +
support/nfsidmap/nss.c | 8 ++
utils/gssd/Makefile.am | 2 +-
utils/gssd/gss_names.c | 6 +-
utils/gssd/gss_util.c | 6 ++
utils/gssd/gss_util.h | 1 +
utils/gssd/gssd.c | 37 +++++--
utils/gssd/krb5_util.c | 12 +--
utils/gssd/svcgssd.c | 143 ++++++++++++++++++++++++++--
utils/gssd/svcgssd.h | 3 +-
utils/gssd/svcgssd_krb5.c | 21 ++--
utils/gssd/svcgssd_krb5.h | 1 +
utils/gssd/svcgssd_main_loop.c | 94 ------------------
utils/gssd/svcgssd_proc.c | 15 +--
utils/idmapd/idmapd.c | 32 +++++++
utils/nfsdcld/nfsdcld.c | 50 +++++++++-
utils/nfsdcld/sqlite.c | 33 +++++--
utils/nfsdcld/sqlite.h | 1 +
22 files changed, 358 insertions(+), 174 deletions(-)
delete mode 100644 utils/gssd/svcgssd_main_loop.c

--
2.26.2