way bigger NR_GROUPS

Jakub Jelinek jakub at redhat.com
Fri Jul 30 20:20:33 UTC 2004


On Fri, Jul 30, 2004 at 10:28:27AM +0200, Florian La Roche wrote:
> People should be aware of a way bigger NR_GROUPS for a current
> kernel if compiled against a current glibc-kernheaders.

It is actually NGROUPS_MAX that changed (and with sys/param.h
NGROUPS as well).
sysconf (_SC_NGROUPS_MAX) and getconf NGROUPS_MAX return 65536
for quite some time already on 2.6 kernels (sysconf parses
/proc/sys/kernel/ngroups_max).

	Jakub





More information about the fedora-devel-list mailing list