[OpenAFS] OpenAFS on Linux 2.5.x
Derrick J Brashear
shadow@dementia.org
Wed, 16 Apr 2003 09:59:53 -0400 (EDT)
On Wed, 16 Apr 2003, chas williams wrote:
> 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.
basically an error here can be fatal; i don't want to give my tokens to
another user, even if i never need admin tokens on a machine with other
users.