This patchset removes the hard NGROUPS limit. It has been in use in a similar
form (but with a sysctl-set limit) on our systems for some time.
I have a separate patch to convert XFS to the generic qsort(), which I will
bounce to SGI if/when this gets pulled.
There is a small change needed for glibc, and I will send that patch to the
glibc people if/when this gets pulled.
Lastly, this does not fixup all the architectures. I have other patchsets for
that, which need to be reviewed by arch maintainers.
Tim
Please do a
bk pull http://suncobalt.bkbits.net/ngroups-2.5
This will update the following files:
include/linux/nfsiod.h | 52 ------------
fs/nfsd/auth.c | 11 +-
fs/proc/array.c | 2
include/asm-i386/param.h | 4
include/linux/init_task.h | 1
include/linux/kernel.h | 5 +
include/linux/limits.h | 3
include/linux/sched.h | 3
include/linux/sunrpc/svcauth.h | 3
kernel/exit.c | 6 +
kernel/fork.c | 4
kernel/sys.c | 88 +++++++++++++++-----
kernel/uid16.c | 63 +++++++++++---
lib/Makefile | 4
lib/bsearch.c | 49 +++++++++++
lib/qsort.c | 177 +++++++++++++++++++++++++++++++++++++++++
net/sunrpc/svcauth_unix.c | 4
17 files changed, 376 insertions(+), 103 deletions(-)
through these ChangeSets (diffs in separate email):
<thockin@freakshow.cobalt.com> (02/11/05 1.933)
no one references nfsiod.h anymore - nix it.
<thockin@freakshow.cobalt.com> (02/11/05 1.932)
fix usage of NGROUPS in nfsd and svcauth
<thockin@freakshow.cobalt.com> (02/11/05 1.931)
Remove the limit of 32 groups. We now have a per-task, dynamic array of
groups, which is kept sorted and refcounted.
This ChangeSet incorporates all the core functionality. but does not fixup
all the incorrect usages of groups. That is in a seperate ChangeSet.
<thockin@freakshow.cobalt.com> (02/11/05 1.930)
Add generic qsort() and bsearch(): qsort() from BSD, bsearch() from glibc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/