Design goals of the dynamic loader.
Siddhesh Poyarekar
siddhesh@redhat.com
Mon Jul 20 13:51:00 GMT 2015
On Mon, Jul 20, 2015 at 08:56:08AM -0400, Carlos O'Donell wrote:
> I agree completely, but we would need to replace it with something like
> stap-based probe tracing which compiles to nop's normally but allows an
> external program like systemtrace to be used to trace library loading with
> all the same detailed data as before but for developers only (and ship
> the stap script with libc.so.6).
I don't understand - we already have stap probe points in ld.so that
do this and we also have LD_DEBUG, which gives the ability to trace
ld.so activities the conventional way, i.e. by dumping to a file or
stderr. Neither have anything to do with ldd.
> It important to have these discussions. We should have community
> members with different view points, and be ready to use those views
> to better serve our users should the needs of those users change.
I have kinda reconciled with this since I realized that we don't
already validate ELF binaries - I had misread the validations.
Siddhesh
More information about the Libc-alpha
mailing list