On Tue, Nov 28, 2006 at 11:43:53AM +0200, Shachar Shemesh wrote:
> Muli Ben-Yehuda wrote:
> 
> > To answer the original question, I would write a wrapper that uses
> > ptrace to do what's needed, but I'm crazy that way.

> Hey! I already suggested that!

I hope you're not expecting royalties :-)

> Actually, I changed my mind. I think that in this particular case
> LD_PRELOAD will probably work better (you need to make calls to the
> socket from the traced program in order to get the fd over to the
> tracing program).

Not sure what you mean here? I prefer ptrace to LD_PRELOAD since it
gives you more control, but YMMV.

Cheers,
Muli

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to