2020-05-18 15:13:04

by Stephen Kitt

[permalink] [raw]
Subject: [PATCH v2] docs: sysctl/kernel: document ngroups_max

This is a read-only export of NGROUPS_MAX.

Signed-off-by: Stephen Kitt <[email protected]>
---
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


2020-05-25 21:06:55

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH v2] docs: sysctl/kernel: document ngroups_max

On Mon, 18 May 2020 16:58:36 +0200
Stephen Kitt <[email protected]> wrote:

> This is a read-only export of NGROUPS_MAX.
>
> Signed-off-by: Stephen Kitt <[email protected]>
> ---
> 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.

Applied, thanks.

jon