[PATCH] nscd: Do not rebuild getaddrinfo (bug 30709)

Florian Weimer fweimer@redhat.com
Wed Aug 2 13:20:55 GMT 2023


* Andreas Schwab:

> Isn't the point of the rebuild that nscd's getaddrinfo does not try to
> contact nscd?

I think that's handled differently.  First, nscd/aicache.c is not
actually layered on top of getaddrinfo.  Second, get_nscd_addresses in
sysdeps/posix/getaddrinfo.c checks __nss_not_use_nscd_hosts, which is
set to -1 by __nss_disable_nscd, which is invoked by nscd upon startup.

Thanks,
Florian



More information about the Libc-alpha mailing list