aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-06-02 21:18:53 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-06-02 21:18:53 +0000
commitb15f36380d03a8765915fe44a2f8aea5f11f2dd4 (patch)
tree2293a91b244147b439403003d1e009557f1f4616
parent55b8a252d7ccde1497fddc385f04e6c4c82303dd (diff)
downloadman-pages-b15f36380d03a8765915fe44a2f8aea5f11f2dd4.tar.gz
sysconf(_SC_NGROUPS_MAX) can be used to determine the number of
supplementary groups that a process may belong to.
-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.