[Libguestfs] alternatives for hooking dlopen() without LD_LIBRARY_PATH or LD_AUDIT?
Florian Weimer
fweimer at redhat.com
Mon Feb 17 15:12:11 UTC 2020
* Eric Blake:
> I'm just now noticing that 'man ld' reports that you may pass '--audit
> LIB' during linking to add a DT_DEPAUDIT dependency on a library
> implementing the audit interface, which sounds like it might be an
> alternative to LD_AUDIT for getting a library with la_objsearch() to
> actually do something (but doesn't obviate the need for la_obsearch()
> to be in a separate library, rather than part of the main executable,
> unless a library can be reused as its own audit library...).
DT_AUDIT support has yet to be implemented in glibc:
<https://sourceware.org/bugzilla/show_bug.cgi?id=24943>
<https://sourceware.org/ml/libc-alpha/2019-08/msg00705.html>
If you go on record saying that you need this, maybe someone will review
the patch. Sorry. 8-(
Florian
More information about the Libguestfs
mailing list