From owner-freebsd-questions@FreeBSD.ORG Tue Dec 2 07:25:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B0B716A4CE for ; Tue, 2 Dec 2003 07:25:48 -0800 (PST) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF16543F3F for ; Tue, 2 Dec 2003 07:25:44 -0800 (PST) (envelope-from barner@in.tum.de) Received: from zi025.glhnet.mhn.de (localhost.glhnet.mhn.de. [127.0.0.1]) by zi025.glhnet.mhn.de (8.12.9p2/8.12.9) with ESMTP id hB2FPgmI033096; Tue, 2 Dec 2003 16:25:42 +0100 (CET) (envelope-from simon@zi025.glhnet.mhn.de) Received: (from simon@localhost) by zi025.glhnet.mhn.de (8.12.9p2/8.12.9/Submit) id hB2FPeVE033095; Tue, 2 Dec 2003 16:25:40 +0100 (CET) (envelope-from simon) Date: Tue, 2 Dec 2003 16:25:39 +0100 From: Simon Barner To: Konstantin Gritsenko Message-ID: <20031202152539.GE618@zi025.glhnet.mhn.de> References: <20031202134842.GA9513@dev.silvercom.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UoPmpPX/dBe4BELn" Content-Disposition: inline In-Reply-To: <20031202134842.GA9513@dev.silvercom.net> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: freebsd-questions@freebsd.org Subject: Re: very intresting question about groups X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2003 15:25:48 -0000 X-List-Received-Date: Tue, 02 Dec 2003 15:25:48 -0000 --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--