elf: Add la_activity during application exit

System Internals / glibc - Adhemerval Zanella [linaro.org] - 1 February 2022 17:49 UTC

la_activity is not called during application exit, even though la_objclose is.

Checked on x86_64-linux-gnu, i686-linux-gnu, and aarch64-linux-gnu.

5fa11a2bc9 elf: Add la_activity during application exit
elf/Makefile | 7 ++
elf/dl-fini.c | 8 ++
elf/tst-audit23.c | 239 +++++++++++++++++++++++++++++++++++++++++++++++++++
elf/tst-audit23mod.c | 23 +++++
elf/tst-auditmod23.c | 74 ++++++++++++++++
5 files changed, 351 insertions(+)

Upstream: sourceware.org


  • Share