* More than 32 groups per process
@ 2002-06-13 19:46 Florian G. Pflug
2002-06-13 20:58 ` Florian G. Pflug
0 siblings, 1 reply; 2+ messages in thread
From: Florian G. Pflug @ 2002-06-13 19:46 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: More than 32 groups per process
2002-06-13 19:46 More than 32 groups per process Florian G. Pflug
@ 2002-06-13 20:58 ` Florian G. Pflug
0 siblings, 0 replies; 2+ messages in thread
From: Florian G. Pflug @ 2002-06-13 20:58 UTC (permalink / raw)
To: linux-kernel
Sorry for replying to myself. I forgot to mention that I'm not subscribed to
linux-kernel, so pleace CC me in your reply (fgp@phlo.org)
greetings, Florian Pflug
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-13 20:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-13 19:46 More than 32 groups per process Florian G. Pflug
2002-06-13 20:58 ` Florian G. Pflug
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox