Subject: Re: bin/14172
To: Jason R. Fink <jrf@adresearch.com>
From: David Laight <david@l8s.co.uk>
List: tech-userlevel
Date: 11/14/2002 17:12:36
On Thu, Nov 14, 2002 at 10:01:07AM -0500, Jason R. Fink wrote:
> 
> > You missed:
> > 
> > 	- remove the NGROUPS_MAX / NGROUPS limit from the applications
> > 	  and kernel.
> 
> heh, no i missed:
> 
> 	- anything else i did not think of ... 
LOL

> > I did look at this and it isn't too hard, deciding the correct response
> > to sysconf(_SC_NGROUPS_MAX) is probably the hardest bit :-)

(and the values in the header files for NGROUPS_MAX and NGROUPS)
posix has some subtle rules in this area...)
> 
> This seems reasonable, something I can look into when I get back.
I would have done it - I looked at more of the places where NGROUPS
is used, but didn't change anything because I don't have write access
and my source tree would have diverged even further :-(

> I am sure I know this (or read it someplace) but as a quick refresher,
> why was the limit there before? Size?

Probably simplicity, and the thought that 16 would be plenty.
After all the group list is a (relatively) recent invention.

	David

-- 
David Laight: david@l8s.co.uk