From mboxrd@z Thu Jan 1 00:00:00 1970 From: Trond Myklebust Subject: Re: [PATCH] in-core AFS multiplexor and PAG support Date: 13 May 2003 19:23:27 +0200 Sender: linux-kernel-owner@vger.kernel.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: David Howells , , , Return-path: To: Linus Torvalds In-Reply-To: List-Id: linux-fsdevel.vger.kernel.org >>>>> " " == Linus Torvalds 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