2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2009-12-18 10:24:25 +08:00
|
|
|
config FANOTIFY
|
|
|
|
bool "Filesystem wide access notification"
|
|
|
|
select FSNOTIFY
|
2019-02-15 00:46:33 +08:00
|
|
|
select EXPORTFS
|
2010-05-27 21:29:37 +08:00
|
|
|
default n
|
2009-12-18 10:24:25 +08:00
|
|
|
---help---
|
2012-08-22 18:11:26 +08:00
|
|
|
Say Y here to enable fanotify support. fanotify is a file access
|
2009-12-18 10:24:25 +08:00
|
|
|
notification system which differs from inotify in that it sends
|
2010-11-02 01:50:12 +08:00
|
|
|
an open file descriptor to the userspace listener along with
|
2009-12-18 10:24:25 +08:00
|
|
|
the event.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2009-12-18 10:24:34 +08:00
|
|
|
|
|
|
|
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
|
2017-09-26 11:47:59 +08:00
|
|
|
hierarchical storage management systems.
|
2009-12-18 10:24:34 +08:00
|
|
|
|
|
|
|
If unsure, say N.
|