Eric Paris | ff0b16a | 2009-12-17 21:24:25 -0500 | [diff] [blame] | 1 | config FANOTIFY |
| 2 | bool "Filesystem wide access notification" |
| 3 | select FSNOTIFY |
Paul Mundt | ef601a9 | 2009-12-17 21:24:26 -0500 | [diff] [blame] | 4 | select ANON_INODES |
Eric Paris | 269ed32 | 2010-05-27 09:29:37 -0400 | [diff] [blame] | 5 | default n |
Eric Paris | ff0b16a | 2009-12-17 21:24:25 -0500 | [diff] [blame] | 6 | ---help--- |
Masanari Iida | 02582e9 | 2012-08-22 19:11:26 +0900 | [diff] [blame] | 7 | Say Y here to enable fanotify support. fanotify is a file access |
Eric Paris | ff0b16a | 2009-12-17 21:24:25 -0500 | [diff] [blame] | 8 | notification system which differs from inotify in that it sends |
Michael Witten | 6aaccec | 2010-11-01 17:50:12 +0000 | [diff] [blame] | 9 | an open file descriptor to the userspace listener along with |
Eric Paris | ff0b16a | 2009-12-17 21:24:25 -0500 | [diff] [blame] | 10 | the event. |
| 11 | |
| 12 | If unsure, say Y. |
Eric Paris | 9e66e42 | 2009-12-17 21:24:34 -0500 | [diff] [blame] | 13 | |
| 14 | config FANOTIFY_ACCESS_PERMISSIONS |
| 15 | bool "fanotify permissions checking" |
| 16 | depends on FANOTIFY |
| 17 | depends on SECURITY |
| 18 | default n |
| 19 | ---help--- |
| 20 | Say Y here is you want fanotify listeners to be able to make permissions |
| 21 | decisions concerning filesystem events. This is used by some fanotify |
| 22 | listeners which need to scan files before allowing the system access to |
| 23 | use those files. This is used by some anti-malware vendors and by some |
| 24 | hierarchical storage managent systems. |
| 25 | |
| 26 | If unsure, say N. |