[PATCH v3 3/3] Documentation for /proc/sys/user/*_inotify_*
From: Albert Vaca Cintora
Date: Fri May 31 2019 - 15:54:18 EST
Added docs for the existing and new inotify-related files
Signed-off-by: Albert Vaca Cintora <albertvaka@xxxxxxxxx>
---
Documentation/sysctl/user.txt | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/Documentation/sysctl/user.txt b/Documentation/sysctl/user.txt
index a5882865836e..99c288d39cf6 100644
--- a/Documentation/sysctl/user.txt
+++ b/Documentation/sysctl/user.txt
@@ -30,11 +30,26 @@ user namespace does not allow a user to escape their current limits.
Currently, these files are in /proc/sys/user:
+- current_inotify_watches
+
+ The number of inotify watches in use in the current user namespace.
+ Calling inotify_add_watch() increases this.
+
- max_cgroup_namespaces
The maximum number of cgroup namespaces that any user in the current
user namespace may create.
+- max_inotify_instances
+
+ The maximum number of inotify instances that any user in the current
+ user namespace may create. Calling inotify_init() uses an instance.
+
+- max_inotify_watches
+
+ The maximum number of inotify watches that any user in the current
+ user namespace may create. Calling inotify_add_watch() uses a watch.
+
- max_ipc_namespaces
The maximum number of ipc namespaces that any user in the current
--
2.21.0