deprecated sunrpc and rpc/netdb.h

Mike Frysinger vapier@gentoo.org
Wed Mar 16 19:28:00 GMT 2016


On 16 Mar 2016 15:33, Thorsten Kukuk wrote:
> On Wed, Mar 16, Mike Frysinger wrote:
> > netdb.h provides funcs to map RPC names<->ports and is only useful
> > to rpc related code.  if we purge sunrpc code from glibc (which we
> > want), then purging the netdb code too makes sense.
> 
> Correct, but how do you want to handle NSS?
> There is a "rpc" entry in /etc/nsswitch.conf and it doesn't
> make much sense to copy the whole NSS code into tirpc and
> similar libraries.

drop it from glibc too and make it an ignored keyword.  whether tirpc
wants to support that indirection is up to that project.

> And how do you want to solve the current problem of 
> source code breakage with the dummy rpc/netdb.h?

i'm not familiar with the details you're referring to.  if glibc is
built with --disable-obsolete-rpc, then it shouldn't install this
header at all.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160316/c33f4517/attachment.sig>


More information about the Libc-alpha mailing list