[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-hackers-public] Re: Bug#325465: Difference between sysconf(_SC
[Savannah-hackers-public] Re: Bug#325465: Difference between sysconf(_SC_NGROUPS_MAX) and /proc/sys/kernel/ngroups_max
Mon, 29 Aug 2005 20:09:29 +0200
On Sun, Aug 28, 2005 at 11:54:45PM +0200, Thiemo Seufer wrote:
> Sylvain Beucler wrote:
> > stable's /usr/include/linux/limits.h has NGROUPS_MAX set to 32. In
> > testing and unstable it is set to 65536.
> > The usermod limitation happens in stable and testing (tested with
> > their respective default kernel), but not in unstable (tested with the
> > testing kernel - all tested kernels having ngroups_max=65536).
> The stable default kernel is 2.4.27 which is limited to 32 groups.
Ok, though "On the Intel x86 architecture a 2.6 kernel is also
available", cf. releases notes. I would expect the limitation to be
enforced by the choice of the kernel and not by the default kernel
As far as I understand, sysconf() should get the information at run
time. How comes that he returns 32 on a system that support 65536?