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

From: Jonathan Corbet
Date: Mon May 25 2020 - 12:30:07 EST


On Mon, 18 May 2020 16:58:36 +0200
Stephen Kitt <steve@xxxxxxx> wrote:

> 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.

Applied, thanks.

jon