diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-06-02 21:18:53 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-06-02 21:18:53 +0000 |
| commit | b15f36380d03a8765915fe44a2f8aea5f11f2dd4 (patch) | |
| tree | 2293a91b244147b439403003d1e009557f1f4616 | |
| parent | 55b8a252d7ccde1497fddc385f04e6c4c82303dd (diff) | |
| download | man-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.7 | 6 |
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. |
