Re: [PATCH 1/1] Avoid having to provide a fake/invalid fd and path

From: Andrew Morton
Date: Thu Apr 17 2014 - 16:38:05 EST


On Wed, 26 Mar 2014 16:30:05 +0100 xypron.glpk@xxxxxx wrote:

> From: Heinrich Schuchardt <xypron.glpk@xxxxxx>
>
> https://lkml.org/lkml/2011/1/12/112
> holds a patch by Tvrtko Ursulin
>
> Avoid having to provide a fake/invalid fd and path when flushing marks
>
> Currently for a group to flush marks it has set it needs to
> provide a fake or invalid (but resolvable) file descriptor
> and path when calling fanotify_mark. This patch pulls the
> flush handling a bit up so file descriptor and path are
> completely ignored when flushing.

The fanotify_mark() manpage should be updated to mention this. Is that
a thing you can take care of?
--
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/