diff options
author | Stephen Kitt <steve@sk2.org> | 2020-05-15 18:02:22 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-05-15 11:24:25 -0600 |
commit | 2f4c33063ad713e3a5b63002cf8362846e78bd71 (patch) | |
tree | 67a21f668d9b68b6df0c153c25afaa22aa94cc18 /Documentation/admin-guide/sysctl/kernel.rst | |
parent | 56b62540782bfde459acc8eb15b949eaf151c881 (diff) | |
download | lwn-2f4c33063ad713e3a5b63002cf8362846e78bd71.tar.gz lwn-2f4c33063ad713e3a5b63002cf8362846e78bd71.zip |
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>
Diffstat (limited to 'Documentation/admin-guide/sysctl/kernel.rst')
-rw-r--r-- | Documentation/admin-guide/sysctl/kernel.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst index eb6bc9cc0318..6b313b6d42d5 100644 --- a/Documentation/admin-guide/sysctl/kernel.rst +++ b/Documentation/admin-guide/sysctl/kernel.rst @@ -517,6 +517,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 ============ |