diff options
author | Eric Paris <eparis@redhat.com> | 2010-10-28 17:21:57 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-10-28 17:22:14 -0400 |
commit | bbf2aba50f6ed7c8dd53623fa1437b539928ac39 (patch) | |
tree | c9ab9560cf9ad139ac3e70c57ce4a450574616c0 /include | |
parent | 52420392c81c8712f555e6bcd116d8bd214ce43a (diff) |
fanotify: allow userspace to flush all marks
fanotify is supposed to be able to flush all marks. This is mostly useful
for the AV community to flush all cached decisions on a security policy
change. This functionality has existed in the kernel but wasn't correctly
exposed to userspace.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fanotify.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fanotify.h b/include/linux/fanotify.h index 8a621c1a0991..a97c96d28c07 100644 --- a/include/linux/fanotify.h +++ b/include/linux/fanotify.h | |||
@@ -52,7 +52,8 @@ | |||
52 | FAN_MARK_ONLYDIR |\ | 52 | FAN_MARK_ONLYDIR |\ |
53 | FAN_MARK_MOUNT |\ | 53 | FAN_MARK_MOUNT |\ |
54 | FAN_MARK_IGNORED_MASK |\ | 54 | FAN_MARK_IGNORED_MASK |\ |
55 | FAN_MARK_IGNORED_SURV_MODIFY) | 55 | FAN_MARK_IGNORED_SURV_MODIFY |\ |
56 | FAN_MARK_FLUSH) | ||
56 | 57 | ||
57 | /* | 58 | /* |
58 | * All of the events - we build the list by hand so that we can add flags in | 59 | * All of the events - we build the list by hand so that we can add flags in |