Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2001 19:57:35 -0500
From:      Sergey Babkin <babkin@bellatlantic.net>
To:        Max Khon <fjoe@iclub.nsu.ru>
Cc:        Brett Glass <brett@lariat.org>, security@FreeBSD.ORG
Subject:   Re: about common group & user ID space (PR kern/14584)
Message-ID:  <3ABA9F7F.53F8980A@bellatlantic.net>
References:  <Pine.BSF.4.21.0103222032570.92988-100000@iclub.nsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Max Khon wrote:
> 
> hi, there!
> 
> On Wed, 21 Mar 2001, Sergey Babkin wrote:
> 
> > > >> > on (a) the number of groups of which a user can be a member and (b) the
> > > >
> > > >For this there is some macro (can't remember the name) which
> > > >can be defined in the kernel config file as an option with
> > > >a higher value. Setting it higher means higher system overhead
> > > >but since the memory size has increased significantly over
> > > >the last few years, I think that a higher default value makes
> > > >sense.
> > >
> > > I do too. Could you submit this as a patch?
> >
> > I've looked at it and found that it's already made into a sysctl
> > variable kern.ngroups.
> 
> it is read-only however (at least on my 4.2-STABLE system)

It's NGROUPS_MAX defined in in sys/limits.h. I've thought that
it's surrounded by #ifdef NGROUPS_MAX but looks like in reality
it is not.

-SB

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ABA9F7F.53F8980A>