aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fanotify.h
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-12-17 21:24:34 -0500
committerEric Paris <eparis@redhat.com>2010-07-28 09:59:00 -0400
commit4d92604cc90aa18bbbe0f6e23b7a9fdb612836d3 (patch)
treec04b26fb38a8524fa5e204cb9e40870afa9823f9 /include/linux/fanotify.h
parentc9778a98e7440fb73e0d27b8155a688663a0d493 (diff)
downloadkernel_goldelico_gta04-4d92604cc90aa18bbbe0f6e23b7a9fdb612836d3.zip
kernel_goldelico_gta04-4d92604cc90aa18bbbe0f6e23b7a9fdb612836d3.tar.gz
kernel_goldelico_gta04-4d92604cc90aa18bbbe0f6e23b7a9fdb612836d3.tar.bz2
fanotify: clear all fanotify marks
fanotify listeners may want to clear all marks. They may want to do this to destroy all of their inode marks which have nothing but ignores. Realistically this is useful for av vendors who update policy and want to clear all of their cached allows. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include/linux/fanotify.h')
-rw-r--r--include/linux/fanotify.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fanotify.h b/include/linux/fanotify.h
index e43934d..385896c 100644
--- a/include/linux/fanotify.h
+++ b/include/linux/fanotify.h
@@ -32,6 +32,7 @@
#define FAN_MARK_MOUNT 0x00000010
#define FAN_MARK_IGNORED_MASK 0x00000020
#define FAN_MARK_IGNORED_SURV_MODIFY 0x00000040
+#define FAN_MARK_FLUSH 0x00000080
#define FAN_ALL_MARK_FLAGS (FAN_MARK_ADD |\
FAN_MARK_REMOVE |\