diff options
author | Amir Goldstein <amir73il@gmail.com> | 2020-07-16 11:42:30 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2020-07-27 23:24:01 +0200 |
commit | 691d976352c73f9b55486092625adbcedd5ca5c5 (patch) | |
tree | 327ad0a044a0587b38ba9c31a2d1de40b6dcc831 /kernel/audit_tree.c | |
parent | 7e8283af6edeb7dd9f8f18a429e6738c07f00ce4 (diff) | |
download | lwn-691d976352c73f9b55486092625adbcedd5ca5c5.tar.gz lwn-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 'kernel/audit_tree.c')
0 files changed, 0 insertions, 0 deletions