diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-17 20:12:05 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 09:58:17 -0400 |
commit | 28a3a7eb3b1f3e7d834e19f06e794e429058a4dd (patch) | |
tree | c025ce90e250786784e18cde38d6c9c89e7b31f9 /include/linux/fsnotify_backend.h | |
parent | 40554c3dae83bd892b7fbfaa2ea9de739cbcf065 (diff) |
audit: reimplement audit_trees using fsnotify rather than inotify
Simply switch audit_trees from using inotify to using fsnotify for it's
inode pinning and disappearing act information.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include/linux/fsnotify_backend.h')
-rw-r--r-- | include/linux/fsnotify_backend.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h index 1679f250d59e..e25284371020 100644 --- a/include/linux/fsnotify_backend.h +++ b/include/linux/fsnotify_backend.h | |||
@@ -62,8 +62,9 @@ | |||
62 | 62 | ||
63 | /* listeners that hard code group numbers near the top */ | 63 | /* listeners that hard code group numbers near the top */ |
64 | #define DNOTIFY_GROUP_NUM UINT_MAX | 64 | #define DNOTIFY_GROUP_NUM UINT_MAX |
65 | #define AUDIT_WATCH_GROUP_NUM (DNOTIFY_GROUP_NUM-1) | 65 | #define AUDIT_WATCH_GROUP_NUM (DNOTIFY_GROUP_NUM-1) |
66 | #define INOTIFY_GROUP_NUM (AUDIT_WATCH_GROUP_NUM-1) | 66 | #define AUDIT_TREE_GROUP_NUM (AUDIT_WATCH_GROUP_NUM-1) |
67 | #define INOTIFY_GROUP_NUM (AUDIT_TREE_GROUP_NUM-1) | ||
67 | 68 | ||
68 | struct fsnotify_group; | 69 | struct fsnotify_group; |
69 | struct fsnotify_event; | 70 | struct fsnotify_event; |