[OpenAFS] OpenAFS on Linux 2.5.x

jon+openafs@silicide.dk jon+openafs@silicide.dk
Thu, 17 Apr 2003 17:43:24 +0200


On Thu, Apr 17, 2003 at 08:59:19AM -0400, chas williams wrote:
> In message <20030417124452.GC4348@gw.silicide.dk>,jon+openafs@silicide.dk write
> s:
> >why would a suggestion like mine give away your tokens? Unless there
> >was a bug. One could make a tree for each user to store the data in,
> >then 2 users should have 0 chance of being mixed up.
> 
> because PAGs should be associated with process groups, not just per user.
> you might want to use different permissions (such as admin) while also
> using your ordinary user permissions elsewhere on the same machine.
> 
> that being said, i think it would be enough to produce a mapping between
> PAGs and the process group leader's pid, uid, and start_time.  start_time
> wouldnt be necessary if you could track when a process group ended but
> alas that is not possible.

why is that not possible. Add some code in the process handling
area, that updates our data. This should be triggered when a
process dies. You have to clean up the memory it has used anyway.


JonB