diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-05-02 15:25:20 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2016-05-11 16:03:38 +0200 |
commit | a64be6fb2f1317ce7039a4bb8638bd0c30c31e28 (patch) | |
tree | ae526533fc85b1705fb5935e30a0d4b54f7bf345 /posix/glob64.c | |
parent | ccc3d71b28c2928df0b12bbed01f88a9e3e1f6f0 (diff) | |
download | glibc-a64be6fb2f1317ce7039a4bb8638bd0c30c31e28.tar glibc-a64be6fb2f1317ce7039a4bb8638bd0c30c31e28.tar.gz glibc-a64be6fb2f1317ce7039a4bb8638bd0c30c31e28.tar.bz2 glibc-a64be6fb2f1317ce7039a4bb8638bd0c30c31e28.zip |
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)
Diffstat (limited to 'posix/glob64.c')
0 files changed, 0 insertions, 0 deletions