This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Track resolv.conf patch in glibc
- From: Florian Weimer <fweimer at redhat dot com>
- To: Khem Raj <raj dot khem at gmail dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 23 Jun 2017 23:23:15 +0200
- Subject: Re: Track resolv.conf patch in glibc
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com AF922C1A1656
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com AF922C1A1656
- References: <CAMKF1srD3Gd=vqvBveJQSGLvohwMcDpmnEwFbcW8tomG9NVCeA@mail.gmail.com>
On 06/23/2017 11:03 PM, Khem Raj wrote:
> Hi Joseph
>
> eglibc has this patch applied
>
> http://www.eglibc.org/archives/patches/msg00778.html
>
> but this was not proposed for glibc. I wonder if this issue is still
> relevant or fixed
> otherwise
It's tracked as bug 984:
https://sourceware.org/bugzilla/show_bug.cgi?id=984
The patch you quoted breaks the _res interface, including internal use
by glibc within getaddrinfo. A proper fix is rather difficult.
Thanks,
Florian