summaryrefslogtreecommitdiff
path: root/kernel/audit_tree.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2020-07-28 10:58:07 +0200
committerJan Kara <jack@suse.cz>2020-07-28 10:58:07 +0200
commit8aed8cebdd973e95d20743e00e35467c7b467d0d (patch)
tree4cb8d05f1eaeb509a394a68fc642dfc95206511a /kernel/audit_tree.c
parentb9a1b9772509cbc6f6aa8bcd0b019f6347a2b631 (diff)
fanotify: compare fsid when merging name event
When merging name events, fsids of the two involved events have to match. Otherwise we could merge events from two different filesystems and thus effectively loose the second event. Backporting note: Although the commit cacfb956d46e introducing this bug was merged for 5.7, the relevant code didn't get used in the end until 7e8283af6ede ("fanotify: report parent fid + name + child fid") which will be merged with this patch. So there's no need for backporting this. Fixes: cacfb956d46e ("fanotify: record name info for FAN_DIR_MODIFY event") Reported-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