Subject: Re: bin/14172
To: Emmanuel Dreyfus <firstname.lastname@example.org>
From: David Laight <email@example.com>
Date: 11/15/2002 11:44:03
On Fri, Nov 15, 2002 at 08:13:04AM +0100, Emmanuel Dreyfus wrote:
> > 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 :-)
> We could introduce a runtime sysctl-able limit, say 256, for instance,
> and return that value?
Having reread the posix/opengroup spec, it looks as though the
'correct' thing is to #define NGROUPS_MAX to (say) 16 and have
sysconf(_SC_NGROUPS_MAX) return -1.
Now to change all the code....
David Laight: firstname.lastname@example.org