~ Considering that your name, etc seems to have computer cracker written
~ all over it I'm not very comfortable giving you advise.
~

*uch*..:) why would you think so?:) not all psychos are crackers, just
like not all crackers are psychos. That's rather an attitude and the point
were certain mentality has derrived.
 
~ CP> Now the problem is how would I call the original routine within my
~ CP> library?
~ CP>  the only thing I have figured out, is something like:
~ 
~ 
~ orig_fopen = dlsym(RTLD_NEXT, "fopen");       
~ 
~ Is a much better construction because with a little care
~ multiple redirectors of the same function can nest.
~ 

yeah. So I could get rid of other libraries, if they would "wrap" the
function.

~ Don't forget to watch out for the aliases _fopen etc. 
~ That the libc designers seems to through in just to make life fun.
~ 

yeap. Thanks for the hint.

--
[EMAIL PROTECTED]           http://www.kalug.lug.net

Reply via email to