From: "Florian G. Pflug" <fgp@phlo.org>
To: linux-kernel@vger.kernel.org
Subject: More than 32 groups per process
Date: Thu, 13 Jun 2002 21:46:56 +0200 [thread overview]
Message-ID: <20020613194656.GB1299@perception.phlo.org> (raw)
Hi
Since linux currently doesn't support more than 32 groups per process, I
created a patch which expands this limit (65536 at the moment, but this is
quite abitrary).
It replaces the static groups array with a dynamically allocated array
(which is reference counted, so that we don't need to copy it on forking).
The groups array is kept sorted (which is easy, because sys_setgroups always
replaces the whole array), and is searched efficiently by using a binary
search algorithmn.
Since I'm not very experienced in kernel hacking, I'd like to know if
someone has done a similar patch (at least I could then compare my code with
it).
If there is interest, I'll post my patch here - but I didn't want to fill
your inboxes with something most people will find useless (2^16 groups is
quite a lot ;-) ).
greetings, Florian Pflug
next reply other threads:[~2002-06-13 19:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-13 19:46 Florian G. Pflug [this message]
2002-06-13 20:58 ` Florian G. Pflug
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020613194656.GB1299@perception.phlo.org \
--to=fgp@phlo.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®