Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2001 17:04:51 -0400 (EDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Jesper Skriver <jesper@skriver.dk>
Cc:        current@FreeBSD.org
Subject:   Re: Review: change NGROUPS_MAX from 16 to 64
Message-ID:  <Pine.NEB.3.96L.1011001170012.86907B-100000@fledge.watson.org>
In-Reply-To: <20010929200940.A10366@skriver.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1011001170012.86907B-100000>