lkml.org 
[lkml]   [2000]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: NGROUPS_MAX


On Tue, 3 Oct 2000, Jeff Garzik wrote:

> On Wed, 4 Oct 2000, Craig Whitmore wrote:
> > I need to set up a server with a user that is in more than 32 groups at a time
> > and as far as I know NGROUPS_MAX in limits.h changes this maximum.
> > If I increase (say to 256) this will this break anything or will linux work perfectly
> > well?
>
> I am interested in the answer too, though I suspect this belongs on the
> glibc not linux-kernel list.
>
> Some ports of glibc have it as high as 256, but I don't think that port
> is based on the Linux kernel.

Secondary groups' array is a part of task_struct, so you are risking to
eat too much space from the kernel stack (256 words is a fairly large
chunk when taken out of 8Kb)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.048 / U:3.428 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site