Re: [PATCH] in-core AFS multiplexor and PAG support

Linus Torvalds
2003-05-13T15:39:54Z

On Tue, 13 May 2003, David Howells wrote:
>
> (1) PAG (Process Authentication Group) support. A PAG is ID'd by a unique
> number, and is represented in memory as a structure that has a ring of
> associated authentication tokens.
>
> Each process can either be part of a PAG, or it can PAG-less - in which
> case it has no authentication tokens.
>
> Two new syscalls are added: setpag and getpag.

I think the code looks pretty horrible, but I think we'll need something
like this to keep track of keys. However, I'm not sure we should make this
a new structure - I think we should make the current "tsk->user" thing
_be_ the "PAG".

Linus