Commit 38df5dce authored by Mike Hibler's avatar Mike Hibler

Bug Fix: BAD MIKE! Don't promulgate the hardwired 16 group limit of yore.

parent dbefc51c
......@@ -3,9 +3,13 @@
/*
* Maximum groups for a server process.
* We don't use NGROUPS_MAX because it is huge on Linux (64K).
* We limit NGROUPS_MAX because it is huge on Linux (64K).
*/
#define MAXGIDS (16+1)
#if NGROUPS_MAX < 1024
#define MAXGIDS (NGROUPS_MAX+1)
#else
#define MAXGIDS 1024
#endif
#define NOUID (-1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment