Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263579AbTEMVdv (ORCPT ); Tue, 13 May 2003 17:33:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263576AbTEMVdu (ORCPT ); Tue, 13 May 2003 17:33:50 -0400 Received: from windlord.Stanford.EDU ([171.64.19.147]:909 "HELO windlord.stanford.edu") by vger.kernel.org with SMTP id S263572AbTEMVdr (ORCPT ); Tue, 13 May 2003 17:33:47 -0400 To: Alan Cox Cc: Linus Torvalds , David Howells , Linux Kernel Mailing List , linux-fsdevel@vger.kernel.org, openafs-devel@openafs.org Subject: Re: [OpenAFS-devel] Re: [PATCH] in-core AFS multiplexor and PAG support References: <1052840663.463.64.camel@dhcp22.swansea.linux.org.uk> In-Reply-To: <1052840663.463.64.camel@dhcp22.swansea.linux.org.uk> (Alan Cox's message of "13 May 2003 16:44:24 +0100") From: Russ Allbery Organization: The Eyrie Date: Tue, 13 May 2003 14:46:27 -0700 Message-ID: User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Portable Code, sparc-sun-solaris2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1086 Lines: 20 Alan Cox writes: > How does AFS currently handle this, can two logins of the same user have > seperate PAGs ? Yes. In fact, that's the default situation and it requires some work to get two logins of the same user into the same PAG. AFS currently handles PAGs by creating "random" high-numbered groups and putting the user into them, and then associating the token with that group in the kernel. One could debate whether it's best to put a user into the same PAG as their other logins by default, but it's imperative that a user be able to create a separate PAG when they wish to (so, for example, they can acquire separate credentials in that new PAG without affecting the credentials and PAG for their other running processes). -- Russ Allbery (rra@stanford.edu) - 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/