On Fri, 15 May 2020 18:02:22 +0200 Stephen Kitt <steve@xxxxxxx> wrote: > This is a read-only export of NGROUPS_MAX, so this patch also changes > the declarations in kernel/sysctl.c to const. > > Signed-off-by: Stephen Kitt <steve@xxxxxxx> > --- > Documentation/admin-guide/sysctl/kernel.rst | 9 +++++++++ > kernel/sysctl.c | 4 ++-- > 2 files changed, 11 insertions(+), 2 deletions(-) > > 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