docs: sysctl/kernel: document ngroups_max
authorStephen Kitt <steve@sk2.org>
Fri, 15 May 2020 16:02:22 +0000 (18:02 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 15 May 2020 17:24:25 +0000 (11:24 -0600)
commit2f4c33063ad713e3a5b63002cf8362846e78bd71
tree67a21f668d9b68b6df0c153c25afaa22aa94cc18
parent56b62540782bfde459acc8eb15b949eaf151c881
docs: sysctl/kernel: document ngroups_max

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@sk2.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20200515160222.7994-1-steve@sk2.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/sysctl/kernel.rst
kernel/sysctl.c