Subject: Re: bin/14172
To: David Laight <david@l8s.co.uk>
From: Jason R. Fink <jrf@adresearch.com>
List: tech-userlevel
Date: 12/04/2002 10:13:22
hi, immm baack (sorta).

now onto business ...

> > We could introduce a runtime sysctl-able limit, say 256, for instance,
> > and return that value?

this actually seems to be what we (netbsd) would prefer, 
after reading the sysconf man page.

> 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.

theorhetically this is doable now, it just has to be 
implemented.

So, after further review, it looks like the PR has
morphed into 2 issues really:

1) bad error reporting

2) using sysconf for posix compliance

now, for item 1, ive no idea what to do, for item 2
well that is sort of a can of worms because there are
a lot of things that do not route through sysconf
since sysctl is better.

recall our statement of "posix within reason".

i am sure we could do it, question is, do we
want to?

	j

-- 
Jay Fink http://pyxis.homeunix.net/
NetBSD Developer http://www.netbsd.org/
Senior SysAdmin/Programmer, Ipsos http://www.ipsos.com/