# SPDX-License-Identifier: GPL-2.0-only
config INOTIFY_USER
	bool "Inotify support for userspace"
	select FSNOTIFY
	default y
	help
	  Say Y here to enable inotify support for userspace, including the
	  associated system calls.  Inotify allows monitoring of both files and
	  directories via a single open fd.  Events are read from the file
	  descriptor, which is also select()- and poll()-able.
	  Inotify fixes numerous shortcomings in dnotify and introduces several
	  new features including multiple file events, one-shot support, and
	  unmount notification.

	  For more information, see <file:Documentation/filesystems/inotify.rst>

	  If unsure, say Y.

config EULEROS_SYSMONITOR_INOTIFY
	bool "modify inotify to save process info in inotify for sysmonitorg"
	depends on INOTIFY_USER
	default n
	help
	  this patch modify inotify for saving process info in inotify for sysmonitor.
	  when related inotify event happened, process info will be recorded in struct,
	  and they can be geted by application. These process info will be reported to
	  the product through alarm_msg to help troubleshooting.
