diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-07-20 13:47:36 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-12-28 08:40:38 -0300 |
commit | c91008d3490e4e3ce29520068405f081f0d368ca (patch) | |
tree | f7f7d9e8dbedba32b211382e02c67c515cdba94b /sysdeps | |
parent | 3dac3959a5cb585b065cef2cb8a8d909c907e202 (diff) | |
download | glibc-c91008d3490e4e3ce29520068405f081f0d368ca.tar.gz glibc-c91008d3490e4e3ce29520068405f081f0d368ca.tar.xz glibc-c91008d3490e4e3ce29520068405f081f0d368ca.zip |
elf: Add _dl_audit_objsearch
It consolidates the code required to call la_objsearch 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')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 52fc89fece..4411a5bc25 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -1396,6 +1396,13 @@ link_map_audit_state (struct link_map *l, size_t index) } } +/* Call the la_objsearch from the audit modules from the link map L. If + ORIGNAME is non NULL, it is updated with the revious name prior calling + la_objsearch. */ +const char *_dl_audit_objsearch (const char *name, struct link_map *l, + unsigned int code) + attribute_hidden; + /* Call the la_activity from the audit modules from the link map L and issues the ACTION argument. */ void _dl_audit_activity_map (struct link_map *l, int action) |