Re: [PATCH 3/3] fanotify: fix inconsistent behaviour regarding flag FAN_ONDIR

2014-12-01 Thread Lino Sanfilippo
Hi, On 01.12.2014 11:05, Jan Kara wrote: > On Sun 30-11-14 00:37:38, Lino Sanfilippo wrote: >> Before flag FAN_ONDIR was implicitly set in a marks ignored mask. This led to >> some inconsistent behaviour: >> >> 1. It was not possible to remove the flag from the ignored mask, once it was >> set

Re: [PATCH 3/3] fanotify: fix inconsistent behaviour regarding flag FAN_ONDIR

2014-12-01 Thread Jan Kara
On Sun 30-11-14 00:37:38, Lino Sanfilippo wrote: > Before flag FAN_ONDIR was implicitly set in a marks ignored mask. This led to > some inconsistent behaviour: > > 1. It was not possible to remove the flag from the ignored mask, once it was > set > (implicitly) with a call like > >

Re: [PATCH 3/3] fanotify: fix inconsistent behaviour regarding flag FAN_ONDIR

2014-12-01 Thread Lino Sanfilippo
Hi, On 01.12.2014 11:05, Jan Kara wrote: On Sun 30-11-14 00:37:38, Lino Sanfilippo wrote: Before flag FAN_ONDIR was implicitly set in a marks ignored mask. This led to some inconsistent behaviour: 1. It was not possible to remove the flag from the ignored mask, once it was set

Re: [PATCH 3/3] fanotify: fix inconsistent behaviour regarding flag FAN_ONDIR

2014-12-01 Thread Jan Kara
On Sun 30-11-14 00:37:38, Lino Sanfilippo wrote: Before flag FAN_ONDIR was implicitly set in a marks ignored mask. This led to some inconsistent behaviour: 1. It was not possible to remove the flag from the ignored mask, once it was set (implicitly) with a call like fanotify_mark(fd,

[PATCH 3/3] fanotify: fix inconsistent behaviour regarding flag FAN_ONDIR

2014-11-29 Thread Lino Sanfilippo
Before flag FAN_ONDIR was implicitly set in a marks ignored mask. This led to some inconsistent behaviour: 1. It was not possible to remove the flag from the ignored mask, once it was set (implicitly) with a call like fanotify_mark(fd, FAN_MARK_ADD, FAN_OPEN, AT_FDCWD, "dir"); This was since

[PATCH 3/3] fanotify: fix inconsistent behaviour regarding flag FAN_ONDIR

2014-11-29 Thread Lino Sanfilippo
Before flag FAN_ONDIR was implicitly set in a marks ignored mask. This led to some inconsistent behaviour: 1. It was not possible to remove the flag from the ignored mask, once it was set (implicitly) with a call like fanotify_mark(fd, FAN_MARK_ADD, FAN_OPEN, AT_FDCWD, dir); This was since the