SEC:ULarger NGROUPS_MAX in CURRENT ? Ready for 7.0-R ?

Wilkinson, Alex alex.wilkinson at dsto.defence.gov.au
Wed Aug 15 20:06:55 PDT 2007


    0n Wed, Aug 15, 2007 at 10:40:07AM -0700, Doug Barton wrote: 

       >> AFAIK the only problem with this is that NFS will fail with larger
       >> number of groups, so (for those not using NFS) why not make the number
       >> of groups an item in kernel configurations and make a compile-time and
       >> module-load-time checks for this in the NFS code?
    >
    >Sure, we look forward to reviewing your patches.

Linux has done some interesting work with respect to this. They have implemented
"Dynamic Allocation of Groups Array When Required" [http://lwn.net/Articles/50916/].
And can allocate up to:

     #cat /proc/sys/kernel/ngroups_max
     65536

I thought NFSv4 no longer has the 16 group limitation ?

 -aW

IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914.  If you have received this email in error, you are requested to contact the sender and delete the email.




More information about the freebsd-current mailing list