aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man7/credentials.76
1 files changed, 5 insertions, 1 deletions
diff --git a/man7/credentials.7 b/man7/credentials.7
index eac61c650d..80c967cf55 100644
--- a/man7/credentials.7
+++ b/man7/credentials.7
@@ -22,7 +22,7 @@
.\"
.\" 2007-06-13 Creation
.\"
-.TH CREDENTIALS 7 2008-05-08 "Linux" "Linux Programmer's Manual"
+.TH CREDENTIALS 7 2008-06-03 "Linux" "Linux Programmer's Manual"
.SH NAME
credentials \- process identifiers
.SH DESCRIPTION
@@ -185,6 +185,10 @@ On Linux kernels before 2.6.4,
a process can be a member of up to 32 supplementary groups;
since kernel 2.6.4,
a process can be a member of up to 65536 supplementary groups.
+The call
+.I sysconf(_SC_NGROUPS_MAX)
+can be used to determine the number of supplementary groups
+of which a process may be a member.
.\" Since kernel 2.6.4, the limit is visible via the read-only file
.\" /proc/sys/kernel/ngroups_max.
.\" As at 2.6.22-rc2, this file is still read-only.