[RFC][PATCH 2/4][BZ 17083] NSS: Parse zone identifier of IPv6 addresses in /etc/hosts

Florian Weimer fweimer@redhat.com
Tue Sep 12 10:51:00 GMT 2017


On 09/12/2017 12:40 PM, Łukasz Stelmach wrote:
> Yet another issue I can see, is that the factored out code
> would have to be public (?) to be available to NSS module.

We have GLIBC_PRIVATE for that.

> Now I can see there is __inet6_scopeid__pton(). I'll try it but I am
> afraid  probably it won't be visible in the NSS module.

It's exported because getaddrinfo is also compiled into nscd (outside
libc) and it has to reference __inet6_scopeid__pton somehow.

Thanks,
Florian



More information about the Libc-alpha mailing list