All of lore.kernel.org
 help / color / mirror / Atom feed
From: apawar.linux@gmail.com (Abhijit Pawar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: File change notification along with user
Date: Wed, 12 Oct 2011 11:30:16 +0530	[thread overview]
Message-ID: <4E952CF0.1030105@gmail.com> (raw)
In-Reply-To: <CA+CftcHZZaaUkFZrsa9myX8RwYW7N4rymeZnU9NMpYOTE=nNWQ@mail.gmail.com>

On 10/12/2011 10:50 AM, V.Ravikumar wrote:
> Other than fanotify , I can achieve my requirement through a 
> driver/module. If this can be achieved through a driver/module please 
> provide me inputs to start.
>
> Thanks,
> Ravi
>
> On Wed, Sep 21, 2011 at 10:27 AM, rohan puri <rohan.puri15@gmail.com 
> <mailto:rohan.puri15@gmail.com>> wrote:
>
>
>
>     On Wed, Sep 21, 2011 at 10:03 AM, V.Ravikumar
>     <ravikumar.vallabhu@gmail.com
>     <mailto:ravikumar.vallabhu@gmail.com>> wrote:
>
>         Hi all,
>
>         Is it possible to write a module/driver which notifies
>         file/directory change asynchronously along with user name(or
>         with uid) who modified it.
>
>         inotify will do change notification but it will not provide
>         uid who modified/created the file.
>
>         audit and inotify combination can work, but I'm looking for a
>         better option than this.
>
>         Please help me.
>
>         Thanks,
>         Ravi
>
>         _______________________________________________
>         Kernelnewbies mailing list
>         Kernelnewbies at kernelnewbies.org
>         <mailto:Kernelnewbies@kernelnewbies.org>
>         http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>     You can have a look at fanotify.
>
>     Refer http://lwn.net/Articles/339253/
>
>     Regards,
>     Rohan Puri
>
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi Ravi,
As mentioned in the article, you can start looking at fsnotify code in 
the kernel. What we need is like something inserted between the VFS 
Layer and the filesystem driver which will tell you what is going on.

Regards,
Abhijit Pawar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111012/1c99d836/attachment.html 

  reply	other threads:[~2011-10-12  6:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-21  4:33 File change notification along with user V.Ravikumar
2011-09-21  4:57 ` rohan puri
2011-10-12  5:20   ` V.Ravikumar
2011-10-12  6:00     ` Abhijit Pawar [this message]
2011-10-12  6:22       ` V.Ravikumar
2011-10-12  6:34     ` rohan puri
2011-10-12  6:47       ` V.Ravikumar
2011-10-12  6:59         ` rohan puri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E952CF0.1030105@gmail.com \
    --to=apawar.linux@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.