Re: [PATCH 1/3] fanotify: only destroy mark when both mask and ignored_mask are cleared

2014-12-01 Thread Lino Sanfilippo
Hi, On 01.12.2014 10:04, Jan Kara wrote: > On Sun 30-11-14 00:37:36, Lino Sanfilippo wrote: >> In fanotify_mark_remove_from_mask() a mark is destroyed if only one of both >> bitmasks (mask or ignored_mask) of a mark is cleared. However the other mask >> may still be set and contain information

Re: [PATCH 1/3] fanotify: only destroy mark when both mask and ignored_mask are cleared

2014-12-01 Thread Jan Kara
On Sun 30-11-14 00:37:36, Lino Sanfilippo wrote: > In fanotify_mark_remove_from_mask() a mark is destroyed if only one of both > bitmasks (mask or ignored_mask) of a mark is cleared. However the other mask > may still be set and contain information that should not be lost. Thus only > destroy a

Re: [PATCH 1/3] fanotify: only destroy mark when both mask and ignored_mask are cleared

2014-12-01 Thread Lino Sanfilippo
Hi, On 01.12.2014 10:04, Jan Kara wrote: On Sun 30-11-14 00:37:36, Lino Sanfilippo wrote: In fanotify_mark_remove_from_mask() a mark is destroyed if only one of both bitmasks (mask or ignored_mask) of a mark is cleared. However the other mask may still be set and contain information that

Re: [PATCH 1/3] fanotify: only destroy mark when both mask and ignored_mask are cleared

2014-12-01 Thread Jan Kara
On Sun 30-11-14 00:37:36, Lino Sanfilippo wrote: In fanotify_mark_remove_from_mask() a mark is destroyed if only one of both bitmasks (mask or ignored_mask) of a mark is cleared. However the other mask may still be set and contain information that should not be lost. Thus only destroy a mark

[PATCH 1/3] fanotify: only destroy mark when both mask and ignored_mask are cleared

2014-11-29 Thread Lino Sanfilippo
In fanotify_mark_remove_from_mask() a mark is destroyed if only one of both bitmasks (mask or ignored_mask) of a mark is cleared. However the other mask may still be set and contain information that should not be lost. Thus only destroy a mark if both masks are cleared. Signed-off-by: Lino

[PATCH 1/3] fanotify: only destroy mark when both mask and ignored_mask are cleared

2014-11-29 Thread Lino Sanfilippo
In fanotify_mark_remove_from_mask() a mark is destroyed if only one of both bitmasks (mask or ignored_mask) of a mark is cleared. However the other mask may still be set and contain information that should not be lost. Thus only destroy a mark if both masks are cleared. Signed-off-by: Lino