This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: internal_function symbols part of the public ABI
On Aug 14 2017, Florian Weimer <fweimer@redhat.com> wrote:
> 2017-08-14 Florian Weimer <fweimer@redhat.com>
>
> [BZ #21962]
> NSS: Create stubs for accidentally exported lookup functions.
> * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
> Remove declaration.
> * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
> (ether_hostton): Call __nss_ethers_lookup2 instead.
> * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
> (ether_ntohost): Call __nss_ethers_lookup2 instead.
> * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
> (setup): Call __nss_netgroup_lookup2 instead.
> * nss/Makefile (routines): Add compat-lookup.
> * nss/Versions (GLIBC_2.27): Add symbol version.
> * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
> (DB_COMPAT_FCT): Remove.
> * nss/compat-lookup.c: New file.
> * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
> from databases.def.
> * nss/service-lookup.c (NO_COMPAT): Remove definition.
> * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
> (netname2user): Call __nss_publickey_lookup2 instead.
> * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
> (getpublickey, getsecretkey): Call __nss_publickey_lookup2
> instead.
Ok.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."