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

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Wed, 09 Aug 2006 09:41:08 -0400


In message <17623.34774.671617.38354@khavrinen.csail.mit.edu>,Garrett Wollman w
rites:
>Doesn't matter, so long as each PAG gets a distinct memory location.
>In a real implementation, it would probably be a pointer to a
>reference count.

negative.  it really should just be an indentifier that is used to group
together objects.  there should not be identifier reuse.  pointers to
kernel memory are very likely to be reused (mostly due to the slab
allocator).  since you might pass these identifiers to a user process
you cant let them repeat since you have no idea how long a user process
might hold onto these things.