BZ #16613: Support TLS in audit libraries.
commitd050367659e04685a0eab910e86ea6829a8d24f9
authorCarlos O'Donell <carlos@redhat.com>
Tue, 25 Feb 2014 18:00:36 +0000 (25 13:00 -0500)
committerCarlos O'Donell <carlos@redhat.com>
Tue, 25 Feb 2014 18:18:15 +0000 (25 13:18 -0500)
treeeb094a22fb28449c7723b9463c388505ca31a5a3
parent4cbf380ce948ca15a965a78f0c1a092cf5956792
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
ChangeLog
NEWS
elf/Makefile
elf/dl-tls.c
elf/rtld.c
elf/tst-audit9.c [new file with mode: 0644]
elf/tst-auditmod9a.c [new file with mode: 0644]
elf/tst-auditmod9b.c [new file with mode: 0644]
sysdeps/generic/ldsodefs.h