aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2014-02-25 13:00:36 -0500
committerCarlos O'Donell <carlos@redhat.com>2014-02-25 13:18:15 -0500
commitd050367659e04685a0eab910e86ea6829a8d24f9 (patch)
treeeb094a22fb28449c7723b9463c388505ca31a5a3 /ChangeLog
parent4cbf380ce948ca15a965a78f0c1a092cf5956792 (diff)
downloadglibc-d050367659e04685a0eab910e86ea6829a8d24f9.zip
glibc-d050367659e04685a0eab910e86ea6829a8d24f9.tar.gz
glibc-d050367659e04685a0eab910e86ea6829a8d24f9.tar.bz2
BZ #16613: Support TLS in audit libraries.
This commit fixes a bug where the dynamic loader would crash when loading audit libraries, via LD_AUDIT, where those libraries used TLS. The dynamic loader was not considering that the audit libraries would use TLS and failed to bump the TLS generation counter leaving TLS usage inconsistent after loading the audit libraries. https://sourceware.org/ml/libc-alpha/2014-02/msg00569.html
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0071571..9e564f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2014-02-25 Ulrich Drepper <drepper@gmail.com>
+ Carlos O'Donell <carlos@redhat.com>
+
+ [BZ #16613]
+ * elf/dl-tls.c (_dl_count_modids): New function.
+ * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
+ * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
+ audit library and increment generation counter.
+ (_dl_allocate_tls_init): Add assertion to check TLS generation count.
+ * elf/tst-audit9.c: New file.
+ * elf/tst-auditmod9a.c: New file.
+ * elf/tst-auditmod9b.c: New file.
+ * elf/Makefile: Add rules to build and run tst-audit9.
+
2014-02-25 Florian Weimer <fweimer@redhat.com>
[BZ #15347]