treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / fs / notify / fanotify / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
ff0b16a9
EP
2config FANOTIFY
3 bool "Filesystem wide access notification"
4 select FSNOTIFY
53136b39 5 select EXPORTFS
269ed32a 6 default n
ff0b16a9 7 ---help---
02582e9b 8 Say Y here to enable fanotify support. fanotify is a file access
ff0b16a9 9 notification system which differs from inotify in that it sends
6aaccece 10 an open file descriptor to the userspace listener along with
ff0b16a9
EP
11 the event.
12
13 If unsure, say Y.
9e66e423
EP
14
15config FANOTIFY_ACCESS_PERMISSIONS
16 bool "fanotify permissions checking"
17 depends on FANOTIFY
18 depends on SECURITY
19 default n
20 ---help---
21 Say Y here is you want fanotify listeners to be able to make permissions
22 decisions concerning filesystem events. This is used by some fanotify
23 listeners which need to scan files before allowing the system access to
24 use those files. This is used by some anti-malware vendors and by some
83fc61a5 25 hierarchical storage management systems.
9e66e423
EP
26
27 If unsure, say N.