Fwd: Re: [PATCH 1/1] fanotify: for FAN_MARK_FLUSH check flags

2014-05-01 Thread Heinrich Schuchardt
Hello Andrew, the patch below was Acked-by: Michael Kerrisk https://lkml.org/lkml/2014/4/24/23 Acked-by: Jan Kara https://lkml.org/lkml/2014/4/24/1048 Please, consider it for inclusion in the mm tree. Best regards Heinrich Schuchardt On 24.04.2014 12:03, Jan Kara wrote: On Wed 23-04-14 23

Re: [PATCH 1/1] fanotify: for FAN_MARK_FLUSH check flags

2014-04-24 Thread Jan Kara
On Wed 23-04-14 23:55:51, Heinrich Schuchardt wrote: > If fanotify_mark is called with illegal value of arguments flags and marks > it usually returns EINVAL. > > When fanotify_mark is called with FAN_MARK_FLUSH the argument flags is not > checked for irrelevant flags like FAN_MARK_IGNORED_MASK. >

Re: [PATCH 1/1] fanotify: for FAN_MARK_FLUSH check flags

2014-04-23 Thread Michael Kerrisk (man-pages)
On 04/23/2014 11:55 PM, Heinrich Schuchardt wrote: > If fanotify_mark is called with illegal value of arguments flags and marks > it usually returns EINVAL. > > When fanotify_mark is called with FAN_MARK_FLUSH the argument flags is not > checked for irrelevant flags like FAN_MARK_IGNORED_MASK. >

[PATCH 1/1] fanotify: for FAN_MARK_FLUSH check flags

2014-04-23 Thread Heinrich Schuchardt
If fanotify_mark is called with illegal value of arguments flags and marks it usually returns EINVAL. When fanotify_mark is called with FAN_MARK_FLUSH the argument flags is not checked for irrelevant flags like FAN_MARK_IGNORED_MASK. The patch removes this inconsistency. If an irrelevant flag is