[lkml]   [2011]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Intercepting system calls
    Hello John,

    On Thu, Dec 22, 2011 at 11:22 PM, John Stoffel <> wrote:
    >>>>>> "Gaurav" == Gaurav Saxena <> writes:
    >>> Intercepting system calls is very bad, don't do it.
    > Gaurav> Oh. I will not do it then, could you suggest me something so
    > Gaurav> that I could prevent unlink on some file say using kernel
    > Gaurav> support. I want to save file on unlink how could I do that
    > Gaurav> without kernel support, or how could I do that using a kernel
    > Gaurav> module.
    > Write a FUSE module to mount the filesystem through, inside your FUSE
    > module you can intercept the unlink/truncate/write calls and decide
    > what you want to have happen.
    > John
    I would like to write it differently for each type of filesystem ?
    Because what operations to call after my function depends on this.
    Also Can I mount "/" in this way ?

    Thanks and Regards ,

     \ /
      Last update: 2011-12-23 03:27    [W:0.018 / U:63.608 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site