From: Albert Vaca Cintora <albertvaka@gmail.com>
To: albertvaka@gmail.com, akpm@linux-foundation.org,
rdunlap@infradead.org, mingo@kernel.org, jack@suse.cz,
ebiederm@xmission.com, nsaenzjulienne@suse.de,
linux-kernel@vger.kernel.org, corbet@lwn.net,
linux-doc@vger.kernel.org, mbrugger@suse.com
Subject: [PATCH v3 3/3] Documentation for /proc/sys/user/*_inotify_*
Date: Fri, 31 May 2019 21:50:16 +0200 [thread overview]
Message-ID: <20190531195016.4430-3-albertvaka@gmail.com> (raw)
In-Reply-To: <20190531195016.4430-1-albertvaka@gmail.com>
Added docs for the existing and new inotify-related files
Signed-off-by: Albert Vaca Cintora <albertvaka@gmail.com>
---
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
prev parent reply other threads:[~2019-05-31 19:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-31 19:50 [PATCH v3 1/3] Move *_ucounts functions above Albert Vaca Cintora
2019-05-31 19:50 ` [PATCH v3 2/3] kernel/ucounts: expose count of inotify watches in use Albert Vaca Cintora
2019-06-01 0:00 ` Andrew Morton
2019-06-01 18:20 ` Albert Vaca Cintora
2019-10-16 18:47 ` Albert Vaca Cintora
2019-05-31 19:50 ` Albert Vaca Cintora [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190531195016.4430-3-albertvaka@gmail.com \
--to=albertvaka@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=corbet@lwn.net \
--cc=ebiederm@xmission.com \
--cc=jack@suse.cz \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mbrugger@suse.com \
--cc=mingo@kernel.org \
--cc=nsaenzjulienne@suse.de \
--cc=rdunlap@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox