diff options
author | 2017-08-15 13:00:37 +0200 | |
---|---|---|
committer | 2017-08-15 16:03:00 -0400 | |
commit | b5fed474b98332559f2590c6bc90388a0899e793 (patch) | |
tree | 4f7cd528a01280492744ff415ba745f62a02ecfc /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | audit: Fix use after free in audit_remove_watch_rule() (diff) | |
download | wireguard-linux-b5fed474b98332559f2590c6bc90388a0899e793.tar.xz wireguard-linux-b5fed474b98332559f2590c6bc90388a0899e793.zip |
audit: Receive unmount event
Although audit_watch_handle_event() can handle FS_UNMOUNT event, it is
not part of AUDIT_FS_WATCH mask and thus such event never gets to
audit_watch_handle_event(). Thus fsnotify marks are deleted by fsnotify
subsystem on unmount without audit being notified about that which leads
to a strange state of existing audit rules with dead fsnotify marks.
Add FS_UNMOUNT to the mask of events to be received so that audit can
clean up its state accordingly.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions