diff options
author | Amir Goldstein <amir73il@gmail.com> | 2020-07-16 10:42:09 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2020-07-27 21:23:36 +0200 |
commit | 0badfa029e5fd6d5462adb767937319335637c83 (patch) | |
tree | 601cf56c89b887449a9acc1fddfb570ecc2ca58e /net/nfc/nci/Makefile | |
parent | fanotify: remove event FAN_DIR_MODIFY (diff) | |
download | linux-0badfa029e5fd6d5462adb767937319335637c83.tar.xz linux-0badfa029e5fd6d5462adb767937319335637c83.zip |
fanotify: generalize the handling of extra event flags
In fanotify_group_event_mask() there is logic in place to make sure we
are not going to handle an event with no type and just FAN_ONDIR flag.
Generalize this logic to any FANOTIFY_EVENT_FLAGS.
There is only one more flag in this group at the moment -
FAN_EVENT_ON_CHILD. We never report it to user, but we do pass it in to
fanotify_alloc_event() when group is reporting fid as indication that
event happened on child. We will have use for this indication later on.
Link: https://lore.kernel.org/r/20200716084230.30611-2-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'net/nfc/nci/Makefile')
0 files changed, 0 insertions, 0 deletions