diff options
author | 2021-10-25 16:27:31 -0300 | |
---|---|---|
committer | 2021-10-27 12:34:42 +0200 | |
commit | 4fe595cf1c80e7a5af4d00c4da29def64aff57a2 (patch) | |
tree | d7cd0ef7037db5f028a1bc17fab8feea8f97e12c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fanotify: Encode empty file handle when no inode is provided (diff) | |
download | wireguard-linux-4fe595cf1c80e7a5af4d00c4da29def64aff57a2.tar.xz wireguard-linux-4fe595cf1c80e7a5af4d00c4da29def64aff57a2.zip |
fanotify: Require fid_mode for any non-fd event
Like inode events, FAN_FS_ERROR will require fid mode. Therefore,
convert the verification during fanotify_mark(2) to require fid for any
non-fd event. This means fid_mode will not only be required for inode
events, but for any event that doesn't provide a descriptor.
Link: https://lore.kernel.org/r/20211025192746.66445-17-krisman@collabora.com
Suggested-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions