Re: Review: change NGROUPS_MAX from 16 to 64

2001-10-02 Thread Ruslan Ermilov

Probably, the reason is to still have a working KINFO_PROC_SIZE even
if the user modifies NGROUPS_MAX?

On Tue, Oct 02, 2001 at 08:12:45AM -0400, Robert Watson wrote:
> 
> On Tue, 2 Oct 2001, Ruslan Ermilov wrote:
> 
> > What's the reason why KI_NGROUPS should be different from NGROUPS_MAX?
> 
> None -- ideally, they would be the same.  I was reminding him that if he
> updated one, he should be sure to update the other.
> 
> > On Mon, Oct 01, 2001 at 05:04:51PM -0400, Robert Watson wrote:
> > > 
> > > 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. 

-- 
Ruslan Ermilov  Oracle Developer/DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Review: change NGROUPS_MAX from 16 to 64

2001-10-02 Thread Robert Watson


On Tue, 2 Oct 2001, Ruslan Ermilov wrote:

> What's the reason why KI_NGROUPS should be different from NGROUPS_MAX?

None -- ideally, they would be the same.  I was reminding him that if he
updated one, he should be sure to update the other.

> On Mon, Oct 01, 2001 at 05:04:51PM -0400, Robert Watson wrote:
> > 
> > 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
> > [EMAIL PROTECTED]  NAI Labs, Safeport Network Services
> 
> -- 
> Ruslan ErmilovOracle Developer/DBA,
> [EMAIL PROTECTED] Sunbay Software AG,
> [EMAIL PROTECTED]FreeBSD committer,
> +380.652.512.251  Simferopol, Ukraine
> 
> http://www.FreeBSD.orgThe Power To Serve
> http://www.oracle.com Enabling The Information Age
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Review: change NGROUPS_MAX from 16 to 64

2001-10-02 Thread Ruslan Ermilov

What's the reason why KI_NGROUPS should be different from NGROUPS_MAX?

On Mon, Oct 01, 2001 at 05:04:51PM -0400, Robert Watson wrote:
> 
> 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
> [EMAIL PROTECTED]  NAI Labs, Safeport Network Services

-- 
Ruslan Ermilov  Oracle Developer/DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Review: change NGROUPS_MAX from 16 to 64

2001-10-01 Thread Jesper Skriver

On Mon, Oct 01, 2001 at 05:04:51PM -0400, Robert Watson wrote:
> 
> 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. 

As John Baldwin pointed out, it's probably not worth it, so we'll
just keep it as a local diff.

Thanks for your time.

/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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Review: change NGROUPS_MAX from 16 to 64

2001-10-01 Thread Robert Watson


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
[EMAIL PROTECTED]  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_MAX16   /* max supplemental group id's */
> +#define  NGROUPS_MAX64   /* 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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Review: change NGROUPS_MAX from 16 to 64

2001-09-29 Thread John Baldwin


On 29-Sep-01 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 ?

It bloats ucred's.  Might as well just leave it as it is.  If people need to
tweak it it is easy to do, but most people don't need more than 16 groups.

-- 

John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message