Re: fanotify - overall design before I start sending patches

Eric Paris
2009-07-29T20:14:22Z

On Mon, 2009-07-27 at 12:33 -0600, Andreas Dilger wrote:
> On Jul 25, 2009 01:29 +0100, Jamie Lokier wrote:

> It might also make sense to verify that the process doing the open has
> at least permission to open the file in question (i.e. root) so that
> some unauthorized process cannot just get file handles to arbitrary files.

All current permissions between the listener process and the object are
done. It's quite possible to get fanotify events where the fd = -EPERM.

-Eric