lkml.org 
[lkml]   [1999]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFC: Dynamic group limit
On Sat, Jul 31, 1999 at 02:07:07PM +0200, Mattias.Gronlund wrote:
> I have been thinking about this for some days now and I have come to the
> conclution that a shell-sort and binary search will be what I implement
> in my first patch.
I think you're correct about the search. There's no system call for
extending the grouplist, only for setting it. Therefore bsearch() should
be sufficient. I hope no programs rely on getting the groups back in the
same order with getgroups() as they have been specified originally with
setgroups(). They will break I guess.

--
Frank van Maarseveen Driebergen
f.vanmaarseveen@inter.nl.net The Netherlands
-------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.048 / U:1.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site