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

Trond Myklebust (trond.myklebust@fys.uio.no)
13 May 2003 19:23:27 +0200


>>>>> " " == Linus Torvalds <torvalds@transmeta.com> writes:

> Put another way: you'd usually add the PAG's at filesystem
> _mount_ time, no? And at that point you'd usually want to add
> it "retroactively" to the session processes that caused the
> mount to happen, no? Not just to the children of the mount.

Think of PAGs as "session"-style management of credentials. If you
want to add/remove a credential without sharing that operation with
all the other processes that are currently in the same session/PAG
then you change PAGs.
Otherwise, the credential operation affects all processes in the same
PAG.

Under normal circumstances, changing real uid/gid should involve
changing your PAG, but it doesn't necessarily have to do so.

Cheers,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/