Re: [GIT PULL] notification tree - try 37!

From: Andreas Gruenbacher
Date: Thu Aug 19 2010 - 16:32:59 EST


On Thursday 19 August 2010 22:24:11 Andreas Gruenbacher wrote:
> Watching the same directory with fanotify results in:
>
> .../d: pid=... open_perm
> .../d: pid=... open
> .../d: pid=... access_perm
> .../d: pid=... access_perm
> .../d: pid=... close

One more thing: the fanotify example code automatically sets ignore marks by
default so the second access_perm check above will normally be suppressed.
Use the -n option of the copy here to turn ignore marks off:

http://git.kernel.org/?p=linux/kernel/git/agruen/fanotify-example.git
--
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/