diff options
author | Amir Goldstein <amir73il@gmail.com> | 2020-07-16 10:42:30 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2020-07-27 23:24:01 +0200 |
commit | 691d976352c73f9b55486092625adbcedd5ca5c5 (patch) | |
tree | 327ad0a044a0587b38ba9c31a2d1de40b6dcc831 /fs/notify/fsnotify.c | |
parent | fanotify: report parent fid + name + child fid (diff) | |
download | linux-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