On Tue, Jun 16, 2009 at 12:02 PM, Vishal Thanki <vishaltha...@gmail.com>wrote:

> In case where you want to intercept these calls, you can write a shared
> library by having your implementation of these calls (i.e.
> read/write/mount). And then, set the path of this library in LD_PRELOAD
> environment. Any application running under this environment variable set,
> will invoke your implementation instead of calling system call.
>
> Regards,
> Vishal
>
>
>
The LD_PRELOAD method has a few drawbacks: security issues, statically
linked programs. I am looking for another solution.

Marius

Reply via email to