Re: [RFC PATCH -v4 13/14] inotify: reimplement inotify usingfsnotify

From: Eric Paris
Date: Sat Dec 13 2008 - 11:44:35 EST


On Sat, 2008-12-13 at 06:22 +0300, Evgeniy Polyakov wrote:
> On Fri, Dec 12, 2008 at 04:52:23PM -0500, Eric Paris (eparis@xxxxxxxxxx) wrote:
> > Yes, holy shit, I'm trying to reimplement inotify as fsnotify...
>
> While you are at it, please update inode_setattr() so that it dropped
> inotify watches if new permissions do not allow to read data.

Now this isn't so easy.... Do you have suggestions how to do this with
inotify as it stands today? the vfs needs to know what's hanging on the
open fd in userspace... Not a bad idea. I'll look, but clearly not a
core patch....

-Eric

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