xref: /openbmc/linux/fs/notify/inotify/Kconfig (revision 63c882a05416e18de6fb59f7dd6da48f3bbe8273)
1272eb014SEric Parisconfig INOTIFY
2272eb014SEric Paris	bool "Inotify file change notification support"
3*63c882a0SEric Paris	default n
4272eb014SEric Paris	---help---
5*63c882a0SEric Paris	  Say Y here to enable legacy in kernel inotify support.  Inotify is a
6*63c882a0SEric Paris	  file change notification system.  It is a replacement for dnotify.
7*63c882a0SEric Paris	  This option only provides the legacy inotify in kernel API.  There
8*63c882a0SEric Paris	  are no in tree kernel users of this interface since it is deprecated.
9*63c882a0SEric Paris	  You only need this if you are loading an out of tree kernel module
10*63c882a0SEric Paris	  that uses inotify.
11272eb014SEric Paris
12272eb014SEric Paris	  For more information, see <file:Documentation/filesystems/inotify.txt>
13272eb014SEric Paris
14*63c882a0SEric Paris	  If unsure, say N.
15272eb014SEric Paris
16272eb014SEric Parisconfig INOTIFY_USER
17272eb014SEric Paris	bool "Inotify support for userspace"
18*63c882a0SEric Paris	depends on FSNOTIFY
19272eb014SEric Paris	default y
20272eb014SEric Paris	---help---
21272eb014SEric Paris	  Say Y here to enable inotify support for userspace, including the
22272eb014SEric Paris	  associated system calls.  Inotify allows monitoring of both files and
23272eb014SEric Paris	  directories via a single open fd.  Events are read from the file
24272eb014SEric Paris	  descriptor, which is also select()- and poll()-able.
25*63c882a0SEric Paris	  Inotify fixes numerous shortcomings in dnotify and introduces several
26*63c882a0SEric Paris	  new features including multiple file events, one-shot support, and
27*63c882a0SEric Paris	  unmount notification.
28272eb014SEric Paris
29272eb014SEric Paris	  For more information, see <file:Documentation/filesystems/inotify.txt>
30272eb014SEric Paris
31272eb014SEric Paris	  If unsure, say Y.
32