[PATCH v2] docs: sysctl/kernel: document ngroups_max

From: Stephen Kitt
Date: Mon May 18 2020 - 11:08:50 EST


This is a read-only export of NGROUPS_MAX.

Signed-off-by: Stephen Kitt <steve@xxxxxxx>
---
Changes since v1:
- drop changes to kernel/sysctl.c

Documentation/admin-guide/sysctl/kernel.rst | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst
index 0d427fd10941..5f12ee07665c 100644
--- a/Documentation/admin-guide/sysctl/kernel.rst
+++ b/Documentation/admin-guide/sysctl/kernel.rst
@@ -459,6 +459,15 @@ Notes:
successful IPC object allocation. If an IPC object allocation syscall
fails, it is undefined if the value remains unmodified or is reset to -1.

+
+ngroups_max
+===========
+
+Maximum number of supplementary groups, _i.e._ the maximum size which
+``setgroups`` will accept. Exports ``NGROUPS_MAX`` from the kernel.
+
+
+
nmi_watchdog
============


base-commit: 1ae7efb388540adc1653a51a3bc3b2c9cef5ec1a
--
2.20.1