From owner-freebsd-current Mon Oct 1 14: 5:22 2001 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id EFED537B40D for ; Mon, 1 Oct 2001 14:05:18 -0700 (PDT) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id f91L4pB88026; Mon, 1 Oct 2001 17:04:52 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Mon, 1 Oct 2001 17:04:51 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Jesper Skriver Cc: current@FreeBSD.org Subject: Re: Review: change NGROUPS_MAX from 16 to 64 In-Reply-To: <20010929200940.A10366@skriver.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Note this will break binary compatibility for xucred. Note also that this may have fascinating effects in NFS environments. Note also that you'll probably want to update KI_NGROUPS also. No idea if it will affect NIS. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Sat, 29 Sep 2001, Jesper Skriver wrote: > Hi, > > I'm involved in a project, where we need the ability for users to > be in more than 16 groups, on those boxes we're using the below > patch, any objections to committing it ? > > Index: sys/sys/syslimits.h > =================================================================== > RCS file: /home/ncvs/src/sys/sys/syslimits.h,v > retrieving revision 1.10 > diff -u -r1.10 syslimits.h > --- sys/sys/syslimits.h 2001/06/18 20:24:54 1.10 > +++ sys/sys/syslimits.h 2001/09/29 18:07:00 > @@ -45,7 +45,7 @@ > #define MAX_CANON 255 /* max bytes in term canon input line */ > #define MAX_INPUT 255 /* max bytes in terminal input */ > #define NAME_MAX 255 /* max bytes in a file name */ > -#define NGROUPS_MAX 16 /* max supplemental group id's */ > +#define NGROUPS_MAX 64 /* max supplemental group id's */ > #ifndef OPEN_MAX > #define OPEN_MAX 64 /* max open files per process */ > #endif > > /Jesper > > -- > Jesper Skriver, jesper(at)skriver(dot)dk - CCIE #5456 > Work: Network manager @ AS3292 (Tele Danmark DataNetworks) > Private: FreeBSD committer @ AS2109 (A much smaller network ;-) > > One Unix to rule them all, One Resolver to find them, > One IP to bring them all and in the zone to bind them. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message