Should we trust on LD_PRELOAD (library preload) ?
i have been using preloading concept for some time, but what i found is quite surprising. e.g let's talk about open() system calll. If you are going to overload this then you should also overload __open() as it's called by fopen(). But even after doing all these overloading, i am just able to overload a subset of open() calls practally. When i tested this overloading business with cat it works fine whereas for vi it fails.
I don't know what's the problem ?
With thanks in advance,
|