summaryrefslogtreecommitdiffstats
path: root/fs/notify/fsnotify.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2020-07-16 10:42:30 +0200
committerJan Kara <jack@suse.cz>2020-07-27 23:24:01 +0200
commit691d976352c73f9b55486092625adbcedd5ca5c5 (patch)
tree327ad0a044a0587b38ba9c31a2d1de40b6dcc831 /fs/notify/fsnotify.c
parentfanotify: report parent fid + name + child fid (diff)
downloadlinux-691d976352c73f9b55486092625adbcedd5ca5c5.tar.xz
linux-691d976352c73f9b55486092625adbcedd5ca5c5.zip
fanotify: report parent fid + child fid
Add support for FAN_REPORT_FID | FAN_REPORT_DIR_FID. Internally, it is implemented as a private case of reporting both parent and child fids and name, the parent and child fids are recorded in a variable length fanotify_name_event, but there is no name. It should be noted that directory modification events are recorded in fixed size fanotify_fid_event when not reporting name, just like with group flags FAN_REPORT_FID. Link: https://lore.kernel.org/r/20200716084230.30611-23-amir73il@gmail.com Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/notify/fsnotify.c')
0 files changed, 0 insertions, 0 deletions