Subject: increasing NGROUPS_MAX
To: None <tech-userlevel@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-userlevel
Date: 08/02/2005 13:33:07
--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

In order to increase the number of supplemental groups a user can be in,
one needs to bump NGROUPS_MAX in the sources.  This will require a
rebuild of the kernel but also of the userland tools that use
NGROUPS_MAX.

This could be made less intrusive if the userland tools would use
sysconf(_SC_NGROUPS_MAX) instead.  Of course this means that all those
tools that currently use static arrays initialized to NGROUPS_MAX + 1
need to be redone dynamically...

-Jan

--=20
"Drink up. The world's about to end."
"This must be Thursday. I never could get the hang of Thursdays."

--nFreZHaLTZJo0R7j
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFC765TfFtkr68iakwRAr8YAJ4xoNoaAzkCg0xG0YGx058JROp+qwCgyNxJ
cxFGguG0iJFvCIKbH72AeLI=
=M996
-----END PGP SIGNATURE-----

--nFreZHaLTZJo0R7j--