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

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Mon, 24 Jul 2006 11:43:46 -0400


In message <EB443598E205C86A6380E9A4@sirius.fac.cs.cmu.edu>,Jeffrey Hutzelman w
rites:
>The 8 bits aren't about indicating that the group encoding is valid; 
>they're not even encoded.  They're about distinguishing PAG's from UID's in 
>all the _other_ places where they appear.

i suspect a single bit would be sufficient to distingush between pag's
and uid's?  it does appear to be encoded in the pag and is used as
some sort of check to see if the value derived from the groups is a 
pag.  perhaps i dont understand afs_get_pag_from_groups().

>You could do that, except then how do you explain to admins which UID's 
>they must avoid?  Right now, it's easy - avoid UID's 0x41000000-0x41FFFFFF.

well i guess the range would just grow.