On Mon, 2020-03-16 at 16:02 +0100, Arnd Bergmann wrote:
> On Mon, Mar 16, 2020 at 3:47 PM Rich Felker <dal...@libc.org> wrote:
> 
> > libtirpc is the replacement. I wasn't aware if uses libc-provided rpc
> > headers (presumably only if they exist, since folks are using it fine
> > on musl) but even if so I think the types will automatically update
> > when time_t changes. Of course that leaves the libtirpc ABI dependent
> > on which time_t is used.
> 
> Ok, makes sense. I suppose it just provides a header with the same
> name then.

* nfs-utils build-depends on libtirpc-dev, and isn't using the glibc
SunRPC headers except for <rpc/netdb.h>.  libtirpc's <rpc/rpcent.h>
specifically avoids declaring things that are also declared in glibc's
<rpc/netdb.h>.

* ntirpc is a different port of the SunRPC code, used by nfs-ganesha.

* nis and nfswatch really are using the glibc SunRPC headers.

Ben.

-- 
Ben Hutchings, Software Developer                         Codethink Ltd
https://www.codethink.co.uk/                 Dale House, 35 Dale Street
                                     Manchester, M1 2HF, United Kingdom

Reply via email to