diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-07-20 14:04:51 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-12-28 08:40:38 -0300 |
commit | 311c9ee54ea963ff69bd3a2e6981c37e893b4c3e (patch) | |
tree | 233f3472a08ff1c44d0d4ef2e079c002de3c887e /sysdeps/generic | |
parent | c91008d3490e4e3ce29520068405f081f0d368ca (diff) | |
download | glibc-311c9ee54ea963ff69bd3a2e6981c37e893b4c3e.tar glibc-311c9ee54ea963ff69bd3a2e6981c37e893b4c3e.tar.gz glibc-311c9ee54ea963ff69bd3a2e6981c37e893b4c3e.tar.bz2 glibc-311c9ee54ea963ff69bd3a2e6981c37e893b4c3e.zip |
elf: Add _dl_audit_objclose
It consolidates the code required to call la_objclose audit
callback.
Checked on x86_64-linux-gnu, i686-linux-gnu, and aarch64-linux-gnu.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 4411a5bc25..2c9c615928 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -1417,6 +1417,10 @@ void _dl_audit_activity_nsid (Lmid_t nsid, int action) namespace identification NSID. */ void _dl_audit_objopen (struct link_map *l, Lmid_t nsid) attribute_hidden; + +/* Call the la_objclose from the audit modules for the link_map L. */ +void _dl_audit_objclose (struct link_map *l) + attribute_hidden; #endif /* SHARED */ #if PTHREAD_IN_LIBC && defined SHARED |