> >> This project proposes changing the maximum value for NGROUPS_MAX > >> from 32 to 1024 by changing the definition of NGROUPS_UMAX from 32 > >> to 1024. > > > >> NGROUPS_MAX as defined by different Unix versions are as follows > >> (http://www.j3e.de/ngroups.html): > >> > >> Linux Kernel >= 2.6.3 65536 > > > > Just a note: a (possibly future) change above INT16_MAX > > will require fixing ON audit code that assumes the > > maximum number of groups is a "short" -- this would need > > to be changed to "ushort". > > I found that bit of code; more is needed, specifically adding so much > data to a cred without using it.
Probably off topic, so let's take it off line if there's more to discuss. I was referring to au_to_groups() in the kernel and au_to_newgroups() in userland. Gary..