[PATCH] resolv: Forward legacy name resolution function calls to NSS
Florian Weimer
fweimer@redhat.com
Tue Jul 4 15:05:00 GMT 2017
The attached patch replaces the compat name lookup functions with calls
to the matching NSS functions. I think this is the right thing to do
for now. If this turns out to break NSS modules which assume that
calling res_gethostbyname does not call into NSS in turn, we could
probably add a more elaborate compat implementation based on nss_dns and
nss_files, without actually duplicating their code.
Comments?
Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resolv-compat.patch
Type: text/x-patch
Size: 25601 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170704/790dad27/attachment.bin>
More information about the Libc-alpha
mailing list