RFC: Should the linker warn about and/or control the propagation of audit libraries ?
Nick Clifton
nickc@redhat.com
Thu Jul 30 11:14:33 GMT 2026
Hi Sam,
> I'm not sure I see a problem: the same issue exists with ELF
> constructors without DT_AUDIT.
Do these constructors have the potential to intercept and change
symbol resolution though ? I think that the issue is that audit
libraries are potentially able to perform very low level manipulation
of the run time environment, and so should be used with caution.
> That said, the use of DT_AUDIT is so unusual that I'd find a message
> about it slightly interesting.
I must admit that I would be interested in seeing if there any
projects out there that are using audit libraries for anything
other than debugging or profiling purposes.
Cheers
Nick
More information about the Binutils
mailing list