Re: RFC: Should the linker warn about and/or control the propagation of audit libraries ?

Nick Clifton <[email protected]> Thu, 30 Jul 2026 12:14:33 +0100
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
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