fanotify: permissions and blocking
[linux-2.6-block.git] / fs / notify / fanotify / Kconfig
index 668e5df28e28b3abda3d03497be084d8d6fed095..566de30395c2233d477cbaccdb8b9c0c3347b8bd 100644 (file)
@@ -10,3 +10,17 @@ config FANOTIFY
           the event.
 
           If unsure, say Y.
+
+config FANOTIFY_ACCESS_PERMISSIONS
+       bool "fanotify permissions checking"
+       depends on FANOTIFY
+       depends on SECURITY
+       default n
+       ---help---
+          Say Y here is you want fanotify listeners to be able to make permissions
+          decisions concerning filesystem events.  This is used by some fanotify
+          listeners which need to scan files before allowing the system access to
+          use those files.  This is used by some anti-malware vendors and by some
+          hierarchical storage managent systems.
+
+          If unsure, say N.