public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Yi Yang <yang.y.yi@gmail.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6.16-rc6-m1 PATCH] Connector: Filesystem Events Connector try 2
Date: Fri, 17 Mar 2006 09:25:25 +0800	[thread overview]
Message-ID: <441A1005.8090709@gmail.com> (raw)
In-Reply-To: <20060316155801.298e7e9e.akpm@osdl.org>

Andrew Morton wrote:
> Yi Yang <yang.y.yi@gmail.com> wrote:
>   
>> This new patch is update for last patch, it removes spinlock and
>> makes include/linux/fsnotify.h more clean when CONFIG_FS_EVENTS=n,
>> it also reformats some too long lines so that they are less than 80
>> columns.
>>
>> This patch implements a new connector, Filesystem Event Connector,
>>  the user can monitor filesystem activities via it, currently, it
>>  can monitor access, attribute change, open, create, modify, delete,
>>  move and close of any file or directory.
>>
>> Every filesystem event will include tgid, uid and gid of the process
>>  which triggered this event, process name, file or directory name 
>> operated by it.
>>     
>
> That would seem to have some privacy implications...
>
> I'd expect that all the info which is needed can be obtained via syscall
> auditing.
>   
Yes, but if enabling syscall audit, all the syscalls will be audited, so 
every syscall will add overhead, moreover
, it will not only send log to klog or system log, but also it will send 
netlink message.

Filesystem events connector is very simple functionally, it just focuses 
on filesystem activities. Process Events
 Connector(cn_proc) is a very typical case.
> I don't recall having seen demand for this feature before.  For what reason
> is it needed?  What is the application?
>   
Anti-virus software can use this feature to monitor malign software's 
activities, foe example, modify system
configuration or critical share libraries. Some system administration 
applications can use to obtain filesystem
 activities of every user in order to diagnose some system troubles.

      reply	other threads:[~2006-03-17  1:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-16 15:43 [2.6.16-rc6-m1 PATCH] Connector: Filesystem Events Connector try 2 Yi Yang
2006-03-16 23:58 ` Andrew Morton
2006-03-17  1:25   ` Yi Yang [this message]

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=441A1005.8090709@gmail.com \
    --to=yang.y.yi@gmail.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox