[OpenAFS] OpenAFS on Linux 2.5.x

chas williams chas@locutus.cmf.nrl.navy.mil
Wed, 16 Apr 2003 09:48:43 -0400


In message <Pine.LNX.4.53.0304160936220.26304@scully.trafford.dementia.org>,Der
rick J Brashear writes:
>how do you grab a fork()?

i dont think you need to grab a fork?  doing a setpag would create mapping
in afs between current->pgrp and your afs credentials.  crref() would 
lookup this mapping.  of course, if something does a setsid() you would
loose the pag information but i think that might be expected behavior.

i am not sure you can track the death of the pgrp though so keeping the
mapping up to date might be somewaht tricky.