Re: IMPORTANT Re: How do I safely back out of Libc4.3 ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg Thain
Date: Saturday, February 27, 1993 - 6:14 pm

In article <C30urH.511@boulder.parcplace.com> imp@boulder.parcplace.com (Warner Losh) writes:

There are other tasks this could be used for as well.  Several people have
asked for the functionality of trace, or truss.  These are commands which
enable system call level tracing of binaries for which one has no source.

Instead of providing this functionality at the kernel level, one could have
an alternate libc.so.x.y with wrappers around all the system calls, 
printing out their calling parameters and the return values.  This method
could also allow for tracing at the C library level, which you can't do
with trace or truss.  If there were such a libc.so.x.y, one could stick it
in, say, /lib/debug/libc.so.x.y, set the LD_LIBRARY_PATH (or equivalent)
to /lib/debug, and away you go.  Simple, no kernel changes, and 
flexible.

---
Greg Thain
thain@sunquest.com
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: IMPORTANT Re: How do I safely back out of Libc4.3 ?, Greg Thain, (Sat Feb 27, 6:14 pm)