From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 22 07:00:49 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 AD0B1106564A for ; Sun, 22 Feb 2009 07:00:49 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outU.internet-mail-service.net (outu.internet-mail-service.net [216.240.47.244]) by mx1.freebsd.org (Postfix) with ESMTP id 956BC8FC0C for ; Sun, 22 Feb 2009 07:00:49 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 447C32428 for ; Sat, 21 Feb 2009 22:49:35 -0800 (PST) X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id BF6C62D6017 for ; Sat, 21 Feb 2009 22:49:34 -0800 (PST) Message-ID: <49A0F57E.2030506@elischer.org> Date: Sat, 21 Feb 2009 22:49:34 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: hackers@freebsd.org References: <20090213115426.GA15211@holyman.cobbled.net> In-Reply-To: <20090213115426.GA15211@holyman.cobbled.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 07:00:49 -0000 ttw+bsd@cobbled.net wrote: > attached is the first in a series of patches that is intended to > remove the current limitation on group membership. > > 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. > > i need some guidance as to what i should re-define NGROUPS_MAX to be > (so that code that depends on it can continue to operate, i'm thinking > just make it 16 but perhaps it would be worth extending the default > while we're at it to something like 64??). i also need feedback on > any braindamage in the current changes. > > the next step will be to extend the kernel groups and map them back > to the user structs / calls. finally i'll extend the user groups > and implement those calls. > > nb: not tested the code (it builds) ... was intending to test it on > my XEN box but only just realised that Xen on amd64 isn't working. > :-( > > happy for any questions that may help guide the process. What do you do about NFS? I seem to remember that NFWS had a maximum number of groups supported.. > > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"