This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC][PATCH 3/4][BZ 17083] NSS: Introduce gethostbyname5_r function


Dnia 12 września 2017 12:03:00 CEST, Florian Weimer <fweimer@redhat.com> napisał(a):
>On 09/05/2017 06:05 PM, Łukasz Stelmach wrote:
>> Add af (address family) to the list of arguments of gethostbyname4_r
>> function in files, dns, nis and nisplus module and rename the
>function to
>> gethostbyname5_r. Pass the af value to the underlying parsing
>functions.
>> Define gethostbyname4_r as a wrapper for the former passing af set
>> to AF_UNSPEC.
>
>I'd prefer if we have a single ultimate name resolution function,
>instead of doing function 5 now, and function 6 later, when we have
>dealt with the malloc matters.

This sounds like a major debate. Do you know who's in charge in this parts of glibc?

>One way to deal with the dlmopen/static dlopen issue would be to define
>a deallocation function which goes with the 5 function.  If this
>function called free, it would automatically end up at the right
>definition.

This means almost nothing to me (-; which means, probably I am not the right guy to do it. 


-- 
Łukasz Stelmach z podróży


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]