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 #6 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.22/master has been updated
       via  a64be6fb2f1317ce7039a4bb8638bd0c30c31e28 (commit)
       via  ccc3d71b28c2928df0b12bbed01f88a9e3e1f6f0 (commit)
      from  9d4fe83c8ccf2a4dcc87f905b474d3053c6c42b7 (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=a64be6fb2f1317ce7039a4bb8638bd0c30c31e28

commit a64be6fb2f1317ce7039a4bb8638bd0c30c31e28
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=ccc3d71b28c2928df0b12bbed01f88a9e3e1f6f0

commit ccc3d71b28c2928df0b12bbed01f88a9e3e1f6f0
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 +++++++++++++
 NEWS                               |    4 +-
 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 --------
 12 files changed, 96 insertions(+), 169 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]