mbox series

[0/3] Audit fixes for proxy link maps

Message ID cover.1723239322.git.fweimer@redhat.com
Headers show
Series Audit fixes for proxy link maps | expand

Message

Florian Weimer Aug. 9, 2024, 9:44 p.m. UTC
Trying to repurpose elf/tst-audit23 revealed further bugs when I tried
to fix bug 31985.  I stopped short of fixing everything (the
_dl_audit_activity_nsid quirk remains).  I think the reordering in
dlclose does not need an LA_VERSION bump, although LA_ACT_DELETE in
_dl_fini is much more recent than the dlclose audit support.  The
Solaris documentation hints that the dlclose ordering should be used
(LA_ACT_DELETE can come before destructor invocation).

Thanks,
Florian

Florian Weimer (3):
  elf: Signal la_objopen for the proxy link map in dlmopen (bug 31985)
  elf: Call la_objclose for proxy link maps in _dl_fini (bug 32065)
  elf: Reorder audit events in dlcose to match _dl_fini (bug 32066)

 elf/dl-close.c    | 14 ++++++-----
 elf/dl-fini.c     |  9 +++++++
 elf/dl-load.c     | 61 +++++++++++++++++++++++++--------------------
 elf/tst-audit23.c | 63 +++++++++++++++++++++++++++++++++++++++--------
 4 files changed, 104 insertions(+), 43 deletions(-)


base-commit: c2a474f4617ede7a8bf56b7257acb37dc757b2d1