Skip to content

Further nfs-utils clean ups

Chuck Lever linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6nfs-utils: Replace getservbyname(3)support/include/nfsrpc.h support/nfs/getport.c support/nfs/rpc_socket.c+63 -940 replies
2/6configure: Remove CPPFLAGS substitutionconfigure.ac+0 -10 replies
3/6nfs-utils: Provide type-checked version of svc_getcaller()support/include/rpcmisc.h utils/mountd/mount_dispatch.c utils/mountd/mountd.c +4 more+44 -240 replies
4/6mount.nfs: squelch compiler warning for TI-RPC buildsutils/mount/network.c+3 -20 replies
5/6gssd: Use same style for including config.h that rest of nfs-utils usesutils/gssd/context.c utils/gssd/context_heimdal.c utils/gssd/context_lucid.c +14 more+66 -110 replies
6/6gssd: include gssapi/gssapi.h before write_bytes.hutils/gssd/context_lucid.c+3 -30 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by.

PatchJeff Layton
1/6
2/6
3/6
4/6
5/6
6/6Pointed-out-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Further nfs-utils clean ups

Hi Steve-

Here are six more patches that clean up various issues to prepare for the widespread use of TI-RPC in nfs-utils.

We discovered a type width mismatch issue between our legacy RPC headers and the TI-RPC run-time that will be addressed in a subsequent patch series by using TI-RPC to build all of nfs-utils. This issue should be addressed before the next release of nfs-utils is published.

The idea will be to build nfs-utils with either glibc's legacy RPC implementation and the legacy RPC headers (as it is today in 1.1.3), or with libtirpc and TI-RPC's headers, based on the setting of --enable-tirpc (which defaults to --disable-tirpc).

This further insulates ongoing IPv6 work from folks who need to use today's up-to-date version of nfs-utils, while easily allowing us to test a version built with complete TI-RPC integration.

---

Chuck Lever (6):
gssd: include gssapi/gssapi.h before write_bytes.h
gssd: Use same style for including config.h that rest of nfs-utils uses mount.nfs: squelch compiler warning for TI-RPC builds
nfs-utils: Provide type-checked version of svc_getcaller()
configure: Remove CPPFLAGS substitution
nfs-utils: Replace getservbyname(3)

 configure.ac                   |    1 
 support/include/nfsrpc.h       |    6 --
 support/include/rpcmisc.h      |    9 +++
 support/nfs/getport.c          |  105 ++++++++++++++++++++++++----------------
 support/nfs/rpc_socket.c       |   46 ------------------
 utils/gssd/context.c           |    5 ++
 utils/gssd/context_heimdal.c   |    4 +-
 utils/gssd/context_lucid.c     |   10 ++--
 utils/gssd/context_mit.c       |    4 +-
 utils/gssd/context_spkm3.c     |    5 ++
 utils/gssd/err_util.c          |    4 ++
 utils/gssd/gss_clnt_send_err.c |    4 ++
 utils/gssd/gss_oids.c          |    4 ++
 utils/gssd/gss_util.c          |    6 ++
 utils/gssd/gssd.c              |    4 +-
 utils/gssd/gssd_main_loop.c    |    5 ++
 utils/gssd/gssd_proc.c         |    6 ++
 utils/gssd/krb5_util.c         |    6 ++
 utils/gssd/svcgssd.c           |    4 +-
 utils/gssd/svcgssd_main_loop.c |    4 ++
 utils/gssd/svcgssd_mech2file.c |    4 +-
 utils/gssd/svcgssd_proc.c      |    4 ++
 utils/mount/network.c          |    5 +-
 utils/mountd/mount_dispatch.c  |    7 ++-
 utils/mountd/mountd.c          |   20 +++-----
 utils/statd/callback.c         |    9 ++-
 utils/statd/monitor.c          |    5 ++
 utils/statd/simu.c             |   12 ++++-
 utils/statd/statd.c            |    6 ++
 29 files changed, 179 insertions(+), 135 deletions(-)
Signature · 1 line
Chuck Lever