This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: A patch for libresolv


> 
> hjl@valinux.com (H.J. Lu) writes:
> 
> > There are many options in libresolve. However, there are no codes to
> > set them. Here is a patch to handle options for libresolve.
> 
> Where is the existing practice for this?  We cannot simply invent this
> because at least I don't understand the code completely.
> 
> Just a brief look already showed a problem.  The RES_IGNTC flag is
> used in the bind 8 code internally (res_sendsigned.c).  It is

Then take it out from my patch.

> obviously not meant to be set by the user.  Probably this is correct
> for the rest as well.
> 
> I'll compare the res_init code in glibc and in bind 8 and make
> whatever changes this suggests.  But simply extending the option
> format is not correct.
> 

There are many RES_XXXXX macros but they are not settable by users.
I have a need to set RES_INSECURE1/RES_INSECURE2. I don't want to
recompile glibc to do it. 


-- 
H.J. Lu (hjl@gnu.org)

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