linux/fs/notify
Amir Goldstein 85af5d9258 fanotify: use FAN_EVENT_ON_CHILD as implicit flag on sb/mount/non-dir marks
Up to now, fanotify allowed to set the FAN_EVENT_ON_CHILD flag on
sb/mount marks and non-directory inode mask, but the flag was ignored.

Mask out the flag if it is provided by user on sb/mount/non-dir marks
and define it as an implicit flag that cannot be removed by user.

This flag is going to be used internally to request for events with
parent and name info.

Link: https://lore.kernel.org/r/20200716084230.30611-8-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2020-07-27 21:23:37 +02:00
..
dnotify fsnotify: pass dir argument to handle_event() callback 2020-07-27 18:32:47 +02:00
fanotify fanotify: use FAN_EVENT_ON_CHILD as implicit flag on sb/mount/non-dir marks 2020-07-27 21:23:37 +02:00
inotify fsnotify: pass dir argument to handle_event() callback 2020-07-27 18:32:47 +02:00
fdinfo.c
fdinfo.h
fsnotify.c fanotify: remove event FAN_DIR_MODIFY 2020-07-27 21:23:36 +02:00
fsnotify.h
group.c
Kconfig
Makefile
mark.c
notification.c