From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 22 11:41:56 2009 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A617D106566B for ; Sun, 22 Feb 2009 11:41:56 +0000 (UTC) (envelope-from fergus@cobbled.net) Received: from mail1.slb.deg.dub.stisp.net (mail1.slb.deg.dub.stisp.net [84.203.253.98]) by mx1.freebsd.org (Postfix) with SMTP id DB4BD8FC19 for ; Sun, 22 Feb 2009 11:41:55 +0000 (UTC) (envelope-from fergus@cobbled.net) Received: (qmail 90421 invoked from network); 22 Feb 2009 11:41:53 -0000 Received: from unknown (HELO holyman.cobbled.net) (84.203.180.117) by mail1.slb.deg.dub.stisp.net with SMTP; 22 Feb 2009 11:41:53 -0000 Received: by holyman.cobbled.net (Postfix, from userid 16385) id A739A1031D; Sun, 22 Feb 2009 11:41:53 +0000 (UTC) Date: Sun, 22 Feb 2009 11:07:19 +0000 From: ttw+bsd@cobbled.net To: Julian Elischer Message-ID: <20090222110719.GA16634@holyman.cobbled.net> References: <20090213115426.GA15211@holyman.cobbled.net> <49A0F57E.2030506@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49A0F57E.2030506@elischer.org> Resent-From: fergus@cobbled.net Resent-Date: Sun, 22 Feb 2009 11:41:53 +0000 Resent-To: hackers@freebsd.org Resent-Message-Id: <20090222114153.A739A1031D@holyman.cobbled.net> Cc: Subject: Re: removal of NGROUPS_MAX dependancy from base X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2009 11:41:56 -0000 On 21.02-22:49, Julian Elischer wrote: [ ... ] > >this patch should remove the dependancy on the definition of > >NGROUPS_MAX as a static constant and implement it as a writable > >sysconf variable of the same. it should also make the necessary > >changes to the codebase to support those. [ ... ] > What do you do about NFS? > I seem to remember that NFWS had a maximum number of groups supported.. NFS will be supported by mapping 16 groups into the auth_unix structure dynamically. my intention is to try and make this transparent by allocating moving the 'most used' groups into that mapping as user processes check them, however, this is very conceptual at the moment and needs more thought as well as validation from others with more experience.