Kconfig 897 B

123456789101112131415161718192021222324252627
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config FANOTIFY
  3. bool "Filesystem wide access notification"
  4. select FSNOTIFY
  5. select EXPORTFS
  6. default n
  7. help
  8. Say Y here to enable fanotify support. fanotify is a file access
  9. notification system which differs from inotify in that it sends
  10. an open file descriptor to the userspace listener along with
  11. the event.
  12. If unsure, say Y.
  13. config FANOTIFY_ACCESS_PERMISSIONS
  14. bool "fanotify permissions checking"
  15. depends on FANOTIFY
  16. depends on SECURITY
  17. default n
  18. help
  19. Say Y here is you want fanotify listeners to be able to make permissions
  20. decisions concerning filesystem events. This is used by some fanotify
  21. listeners which need to scan files before allowing the system access to
  22. use those files. This is used by some anti-malware vendors and by some
  23. hierarchical storage management systems.
  24. If unsure, say N.