Skip to contentSkip to conversation

Does Kernel 2.6.6 support more than 32 groups?

DISCUSSION Brian Gao 1 participant 1 message Jun 16, 2004

lore
Share & tools
lore

Brian Gao

author
#0 lore raw

We need a Linux kernel to support more than 32 groups. The 2.6.6 kernel source file include/linux/limits.h contains the line:

define NGROUPS_MAX 65536 /* supplemental group
IDs are available*/

I also changed

#define NGROUPS_SMALL 32

to

#define NGROUPS_SMALL 256

in include/linux/sched.h file.

But when I compiled it on Redhat Enterprise Linux 3.0 (with glibc-2.3.2-95.20) it still gives 32 group limitation. What else do I need to change? Do I need to modify glibc? If so how?

I'd appreciate your help.

Brian

__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail