[OpenAFS-devel] setgroups() fails to change pag under linux 2.6

Jeffrey Hutzelman jhutz@cmu.edu
Mon, 24 Jul 2006 00:21:45 -0400


On Saturday, July 22, 2006 07:06:56 AM -0400 chas williams - CONTRACTOR 
<chas@cmf.nrl.navy.mil> wrote:

> In message <200607212104.k6LL4Vgg022628@pongo.cs.wisc.edu>,David Thompson
> write s:
>> be issues at one level or another as long as that limitation remains in
>> effect.  If I understand the discussion that's been going on in parallel
>> with  this one (re: keyring support), it looks like pag IDs are going to
>> continue to
>
> initially it will likely be limited to 24 bits.  but there is no reason
> that pags could take advantage of a full 32 bits on linux.  since the
> pag information wont be stored in groups you wont need to double check
> the validity of the pag number you decode.

Well, actually there is still an issue.  The reason PAG's are only 24 bits 
wide is so that we can use the remaining bits to flag a particular value as 
being a PAG ID rather than a UID.  Since tokens, fileserver connections, 
and cached access rights can be associated with either, they have to belong 
to the same namespace.  We could fix this, of course, but it will take some 
doing.

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
   Sr. Research Systems Programmer
   School of Computer Science - Research Computing Facility
   Carnegie Mellon University - Pittsburgh, PA