mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BK SUMMARY] Remove NGROUPS hardlimit (resend w/o qsort)
@ 2002-11-14 23:26 Timothy Hockin
  0 siblings, 0 replies; only message in thread
From: Timothy Hockin @ 2002-11-14 23:26 UTC (permalink / raw)
  To: torvalds, linux-kernel

Linus,

This patchset removes the hard NGROUPS limit.  It has been in use in a similar
form on our systems for some time.

There is a small change needed for glibc, and I will send that patch to the
glibc people if/when this gets pulled.

Unlike prior versions of this patch, I have changed qsort() to a simple
non-recursive sort.  Several people indicated that this change would solve
their objections.

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:

 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         |    3 +
 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                   |  115 +++++++++++++++++++++++++++++++++--------
 kernel/uid16.c                 |   63 +++++++++++++++++-----
 lib/Makefile                   |    4 -
 lib/bsearch.c                  |   49 +++++++++++++++++
 net/sunrpc/svcauth_unix.c      |    4 -
 15 files changed, 224 insertions(+), 51 deletions(-)

through these ChangeSets (diffs in separate email):

<thockin@freakshow.cobalt.com> (02/11/11 1.855)
   fix usage of NGROUPS in nfsd and svcauth

<thockin@freakshow.cobalt.com> (02/11/11 1.854)
   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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-14 23:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-14 23:26 [BK SUMMARY] Remove NGROUPS hardlimit (resend w/o qsort) Timothy Hockin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®