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

Jeffrey Hutzelman jhutz@cmu.edu
Mon, 07 Aug 2006 14:15:51 -0400


On Saturday, July 22, 2006 09:10:18 PM -0400 Garrett Wollman 
<wollman@csail.mit.edu> wrote:

> <<On Sat, 22 Jul 2006 07:06:56 -0400, "chas williams - CONTRACTOR"
> <chas@cmf.nrl.navy.mil> said:
>
>> 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.
>
> It seems fairly obvious that it should be a pointer.

A pointer to what?  A PAG isn't an object; it's a set of processes. 
There's no object associated with a PAG; it's just a number, which happens 
to be used to label a variety of other data.

> There's another way to handle this, though: never let anything other
> than a PAG appear.

Yes, that's a possibility.

-- Jeff