elf: Add _dl_audit_objopen
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 19 Jul 2021 18:47:51 +0000 (15:47 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 28 Dec 2021 11:40:38 +0000 (08:40 -0300)
commitaee6e90f93e285016b6cd9c8bd00402c19ba271b
tree59b3ec4e7ee6ce0d678fdad39fc1db8db73d9903
parentae49f218daca0b7cab27764da4081e6509bc7345
elf: Add _dl_audit_objopen

It consolidates the code required to call la_objopen audit callback.

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

Reviewed-by: Florian Weimer <fweimer@redhat.com>
elf/Makefile
elf/dl-audit.c [new file with mode: 0644]
elf/dl-load.c
elf/rtld.c
sysdeps/generic/ldsodefs.h