Hi Suzuki, On 27.02.2015 12:40, Suzuki K. Poulose wrote: > From: "Suzuki K. Poulose" <[email protected]> > > With FAN_ONDIR set, the user can end up getting events, which > it hasn't marked. This was revealed with fanotify04 testcase > failure on Linux-4.0-rc1, and is a regression from 3.19, revealed > with commit (66ba93c0d7fe6: fanotify: don't set FAN_ONDIR implicitly > on a marks ignored mask). >
> > Fix this by masking the outgoing events to the user, as we > already take care of FAN_ONDIR and FAN_EVENT_ON_CHILD. > thank you for fixing this. I tested your solution and it works, so you can add Tested-by: Lino Sanfilippo <[email protected]>. Regards, Lino -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

