aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2020-07-16 11:42:09 +0300
committerJan Kara <[email protected]>2020-07-27 21:23:36 +0200
commit0badfa029e5fd6d5462adb767937319335637c83 (patch)
tree601cf56c89b887449a9acc1fddfb570ecc2ca58e /lib/test_overflow.c
parent08b95c338e0c5a96e47f4ca314ea1e7580ecb5d7 (diff)
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/[email protected] Signed-off-by: Amir Goldstein <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions