From owner-freebsd-stable Tue Mar 18 12:46:33 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFBA637B401 for ; Tue, 18 Mar 2003 12:46:31 -0800 (PST) Received: from wuhjuhbuh.afraid.org (syr-24-59-96-217.twcny.rr.com [24.59.96.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id B19D843F3F for ; Tue, 18 Mar 2003 12:46:30 -0800 (PST) (envelope-from bks10@cornell.edu) Received: from wuhjuhbuh.afraid.org (localhost.wuhjuhbuh.afraid.org [127.0.0.1]) by wuhjuhbuh.afraid.org (Postfix) with SMTP id 3CBF362B3; Tue, 18 Mar 2003 15:46:29 -0500 (EST) Received: from 192.168.1.5 (SquirrelMail authenticated user ski) by wuhjuhbuh.afraid.org with HTTP; Tue, 18 Mar 2003 15:46:29 -0500 (EST) Message-ID: <1372.192.168.1.5.1048020389.squirrel@wuhjuhbuh.afraid.org> Date: Tue, 18 Mar 2003 15:46:29 -0500 (EST) Subject: Re: setting kern.ngroups From: "Brian Szymanski" To: In-Reply-To: <1048011633.2072.1.camel@pyanfar.ece.cmu.edu> References: <4394.192.168.1.5.1048003806.squirrel@wuhjuhbuh.afraid.org> <1048006379.40809.2.camel@rushlight.kf8nh.apk.net> <20030318172857.GA22835@localhost> <1048011633.2072.1.camel@pyanfar.ece.cmu.edu> X-Priority: 3 Importance: Normal Cc: X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Tue, 2003-03-18 at 12:28, Brian Szymanski wrote: >> > Raising the maximum number of groups requires changes all over the >> place; even if you find them all and rebuild the world (yes, libc >> depends on it as well) you'll find that any program that looks at >> the group vector will blow up because it only has space reserved for >> 16 groups. You don't want to go there. >> >> Aren't these programs broken by not using NGROUPS_MAX from >> syslimits.h? > > My point is that changing syslimits.h doesn't help existing compiled > code at all; you need to recompile everything that touches the group > vector, which may be more code than you expect. (Arguably they should > use a runtime method of sizing the group vector but I've seen very few > programs that do.) Ahhh, no problem. Fortunately we have source for all the code we are running on the machine... Which brings up another question. Does anyone know of a good way to rebuild all ports, without dealing with dependency hell? Peace, Brian Szymanski bks10@cornell.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message