This is the mail archive of the glibc-bugs@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]

[Bug network/19573] res_nclose and __res_maybe_init disagree about name server initialization, breaking Hesiod


https://sourceware.org/bugzilla/show_bug.cgi?id=19573

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, gentoo/2.23 has been updated
       via  0f9d26d14199e47e72d837dca429e3b5fd2276e7 (commit)
      from  efbeadd09aa89d8cdd5f9cdb4027b7677a03c4c3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0f9d26d14199e47e72d837dca429e3b5fd2276e7

commit 0f9d26d14199e47e72d837dca429e3b5fd2276e7
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon May 2 15:25:20 2016 +0200

    hesiod: Always use thread-local resolver state [BZ #19573]

    The Hesiod implementation imported into glibc was enhanced
    to support caller-supplied resolver states.  But its only
    consumer is nss_hesiod, and it supplies the thread-local
    resolver state.  Therefore, this commit changes the Hesiod
    implementation to use the thread-local resolver state (_res)
    directly.  This fixes bug 19573 because the Hesiod
    implementation no longer has to initialize and free any
    resolver state.

    To avoid any risk of interposition of ABI-incompatible Hesiod
    function implementations, this commit marks the Hesiod functions
    as hidden.  (They were already hidden using a linker version
    script.)

    (cherry picked from commit 5018f16c6205404ba3aa7298dc8a3d45fbd46bfc)
    (cherry picked from commit 2d1f6790183dabf54c5b05be97d3872dab720c83)

-----------------------------------------------------------------------

Summary of changes:
 hesiod/Makefile                    |    2 +-
 hesiod/hesiod.c                    |   85 ++++++++----------------------------
 hesiod/hesiod.h                    |   30 +++++++++---
 hesiod/hesiod_p.h                  |   22 +++++++--
 hesiod/nss_hesiod/hesiod-grp.c     |    8 +---
 hesiod/nss_hesiod/hesiod-init.c    |   38 ----------------
 hesiod/nss_hesiod/hesiod-proto.c   |    5 +--
 hesiod/nss_hesiod/hesiod-pwd.c     |    5 +--
 hesiod/nss_hesiod/hesiod-service.c |    5 +--
 hesiod/nss_hesiod/nss_hesiod.h     |   20 --------
 10 files changed, 64 insertions(+), 156 deletions(-)
 delete mode 100644 hesiod/nss_hesiod/hesiod-init.c
 delete mode 100644 hesiod/nss_hesiod/nss_hesiod.h

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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