mbox series

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

Message ID 20200718092421.31691-1-nazard@nazar.ca (mailing list archive)
Headers show
Series nfs-utils: Misc cleanups & fixes | expand

Message

Doug Nazar July 18, 2020, 9:24 a.m. UTC
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

Comments

Steve Dickson July 27, 2020, 2:42 p.m. UTC | #1
On 7/18/20 5:24 AM, Doug Nazar wrote:
> 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
Series committed... (tag: nfs-utils-2-5-2-rc3)

steved.
> 
>  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
>