Date: Tue, 2 Dec 2003 16:25:39 +0100 From: Simon Barner <barner@in.tum.de> To: Konstantin Gritsenko <highelf@silver.com.ua> Cc: freebsd-questions@freebsd.org Subject: Re: very intresting question about groups Message-ID: <20031202152539.GE618@zi025.glhnet.mhn.de> In-Reply-To: <20031202134842.GA9513@dev.silvercom.net> References: <20031202134842.GA9513@dev.silvercom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--UoPmpPX/dBe4BELn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Konstantin Gritsenko schrieb am Tue, Dec 02, 2003 at 03:48:42PM +0200: > ./sys/sys/syslimits.h: > #define NGROUPS_MAX 16 > /* max supplemental group id's */ >=20 > how to explain this limitation? I can see two reasons for this implementation: 1) It's easier to implement. Of course, one could use a data structure that grows dynamically, but that would be an additional source of error, and it might be less efficient. 2) For most purposes, 16 gids per uid should be more than enough. > and what can be if i increase this value and make "make World" I'd say yes. (If none of the code uses a hardcoded 16 but the NGROUPS_MAX define, but I am sure that this is the case). Simon --UoPmpPX/dBe4BELn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/zK7zCkn+/eutqCoRAt0xAKCss1hvhCo+gWChwIbF8wjmzxAzwQCgrmEb vj1FbY9NJcwl5r2xv83Fkdg= =kESE -----END PGP SIGNATURE----- --UoPmpPX/dBe4BELn--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031202152539.GE618>