This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: deprecated sunrpc and rpc/netdb.h
- From: Thorsten Kukuk <kukuk at suse dot de>
- To: libc-alpha at sourceware dot org
- Date: Wed, 16 Mar 2016 15:33:02 +0100
- Subject: Re: deprecated sunrpc and rpc/netdb.h
- Authentication-results: sourceware.org; auth=none
- References: <20160316100021 dot GA8341 at suse dot de> <mvmy49ig0wz dot fsf at hawking dot suse dot de> <20160316141808 dot GJ6588 at vapier dot lan>
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.
> -mike
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.
And how do you want to solve the current problem of
source code breakage with the dummy rpc/netdb.h?
Thorsten
--
Thorsten Kukuk, Senior Architect SLES & Common Code Base
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)