Re: stop mount/read/write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Tue, Jun 16, 2009 at 12:02 PM, Vishal Thanki <vishalthanki@xxxxxxxxx> 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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux