how to know the parameters of sys_open and sys_unlink system calls of all apps.

From: Rakesh Sinha (rakesh_usenet_at_yahoo.com)
Date: 12/02/04


Date: 2 Dec 2004 01:42:00 -0800

Hi,
I am writing this application that is designed as follows.

* the app. would run in the bg . As long as the app is running on the
system, all the files created and deleted by different applications
ought to be tracked by this daemon. So essentially it reduces to
getting the parameters of sys_open and sys_unlink system calls.

I was looking at different ways of implementing it.
* strace : This one was appealing to me but actually this is not
transparent , in the sense, that we explicitly invoke this to get the
system call parameters and return values.

I was wondering as to how to implement them. I am going through
Alessandro rubbini's linux device drivers' book with the first couple
of chapters about writing a module of our own.

My idea is that I want to write a module such that - when the module
is loaded - it would keep track of all the files that were created and
deleted. And the module would work on the data separately. I am pretty
much very new to Linux kernel programming so please let me know some
design pointers as to how I accomplish this



Relevant Pages

  • how to know the parameters of sys_open and sys_unlink system calls of all apps.
    ... I am writing this application that is designed as follows. ... As long as the app is running on the ... Alessandro rubbini's linux device drivers' book with the first couple ... design pointers as to how I accomplish this ...
    (comp.os.linux.development.apps)
  • Re: Slightly OT: Client / Server design with Access
    ... I was thinking of writing the entire FE ... using ADO, but it was also suggested to me that perhaps linked ... Use ODBC linked tables and build the app the same way you would with ... any different design decisions if I were designing from scratch, ...
    (comp.databases.ms-access)
  • hmm, lets call it: generic __init__ problem
    ... in the course of writing a small app, I tried to design a class, which ... Apart from the obvious mistake I can't figure out: ...
    (comp.lang.python)
  • Event log box
    ... I'm new to application design. ... I'm writing an app that's just going to have ... "Verifying username and password" etc. What's the best way ...
    (microsoft.public.dotnet.languages.csharp)
  • hmm, lets call it: generic __init__ problem
    ... in the course of writing a small app, I tried to design a class, which ... Apart from the obvious mistake I can't figure out: ...
    (comp.lang.python)