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 #5 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, release/2.23/master has been updated
       via  2d1f6790183dabf54c5b05be97d3872dab720c83 (commit)
       via  8a756c076eee041f7d231334480f96bebb0d8e29 (commit)
      from  f8020794aea5d4feb38683fc8301ee04a4fc4759 (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=2d1f6790183dabf54c5b05be97d3872dab720c83

commit 2d1f6790183dabf54c5b05be97d3872dab720c83
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)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8a756c076eee041f7d231334480f96bebb0d8e29

commit 8a756c076eee041f7d231334480f96bebb0d8e29
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon May 2 12:07:09 2016 +0200

    hesiod: Remove RCS keywords

    (cherry picked from commit dbdc657dc0b962ef3ac61585c81e0828d8da42ee)

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

Summary of changes:
 ChangeLog                          |   31 +++++++++++++
 hesiod/Makefile                    |    2 +-
 hesiod/hesiod.c                    |   87 +++++++----------------------------
 hesiod/hesiod.h                    |   34 +++++++++-----
 hesiod/hesiod_p.h                  |   26 +++++++----
 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 --------
 11 files changed, 94 insertions(+), 167 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]