NGROUPS_MAX on Linux

Tim Hockin thockin at sun.com
Fri Feb 20 11:47:18 EST 2004


On Fri, Feb 20, 2004 at 11:35:29AM +1100, Darren Tucker wrote:
> Tim Hockin wrote:
> >Linux has just raised the NGROUPS_MAX limit from 32 to 64k.  In doing an
> >audit of various tools, openssh turned up as having incorrect groups
> >handling.  Almost no user-space apps really care about NGROUPS_MAX.
> >
> >A proposed patch (untested, since the CVS build won't compile on my RH 
> >box..
> >:-/) :
> 
> This is an open bug:
> http://bugzilla.mindrot.org/show_bug.cgi?id=787

The proposed fixes are wrong.  Even with sysconf() _SC_NGROUPS_MAX might be
VERY large.  I think my fix is righter.  Can I add on to that bugzilla, or
is it closed to the public?

> BTW, What's the build problem?  It works for me (it gets tested 
> automatically several times per day).

Maybe I just don't know how to use the auto* tools.


$ automake
configure.ac:6: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
automake: configure.ac: `AM_INIT_AUTOMAKE' must be used
automake: your implementation of AM_INIT_AUTOMAKE comes from an
automake: old Automake version.  You should recreate aclocal.m4
automake: with aclocal and run automake again.
configure.ac: required file `./missing' not found
automake: no `Makefile.am' found or specified




More information about the openssh-unix-dev mailing list