lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 20 Dec 2008 13:40:48 +0300
From:	Evgeniy Polyakov <zbr@...emap.net>
To:	Niraj kumar <niraj17@...il.com>
Cc:	linux-kernel <linux-kernel@...r.kernel.org>,
	linux-fsdevel@...r.kernel.org
Subject: Re: [Question] inotify : process based filtering of events

Hi.

On Sat, Dec 20, 2008 at 12:21:33PM +0530, Niraj kumar (niraj17@...il.com) wrote:
> I am trying to use inotify to monitor filesystem events but
> my problem is that I am only interested in changes that
> is being done by a particular process and it's children
> (could be the same process which used inotify APIs).
> 
> Is it possible to achieve this process based filtering of events
> using inotify infrastructure?

You can try using inotify nested attributes patch [1] and filter events
in userspace based on reported pid/tid. With the fsnotify changes coming
it may be possible to have similar functionality there.

1. Inotify nested attributes.
http://lkml.org/lkml/2008/11/25/272

2. Example usage and test application.
http://www.ioremap.net/node/73

-- 
	Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ