Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2001 20:09:40 +0200
From:      Jesper Skriver <jesper@skriver.dk>
To:        current@FreeBSD.org
Subject:   Review: change NGROUPS_MAX from 16 to 64
Message-ID:  <20010929200940.A10366@skriver.dk>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010929200940.A10366>