From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267226AbUHIVQu (ORCPT ); Mon, 9 Aug 2004 17:16:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267232AbUHIVOh (ORCPT ); Mon, 9 Aug 2004 17:14:37 -0400 Received: from lakermmtao03.cox.net ([68.230.240.36]:26266 "EHLO lakermmtao03.cox.net") by vger.kernel.org with ESMTP id S267226AbUHIVNu (ORCPT ); Mon, 9 Aug 2004 17:13:50 -0400 In-Reply-To: <1681.1092065051@redhat.com> References: <16109.1092044758@redhat.com> <1681.1092065051@redhat.com> Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <00F02658-EA49-11D8-BC30-000393ACC76E@mac.com> Content-Transfer-Encoding: 7bit Cc: mike@halcrow.us, greg@kroah.com, Chris Wright , linux-kernel@vger.kernel.org, dwmw2@infradead.org, arjanv@redhat.com, Linus Torvalds , sfrench@samba.org, akpm@osdl.org, James Morris , Trond Myklebust From: Kyle Moffett Subject: Re: [PATCH] implement in-kernel keys & keyring management [try #4] Date: Mon, 9 Aug 2004 17:13:47 -0400 To: David Howells X-Mailer: Apple Mail (2.618) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org One feature that appears to be missing is a key handle or key reference, essentially a structure for manipulating a key with an additional permissions mask and the ability to be both cloned and revoked. A clone should have the same permission mask as the parent, reducible, of course. When a key reference is revoked it also revokes all cloned references, and their clones, etc. I guess a clone should be made when passed across a UNIX pipe, as well as when passed to a child process. That way I can give some daemon a key handle to do work for me, then revoke the daemon's handle only, not all the other handles I may have, when I'm done with it. Cheers, Kyle Moffett -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCM/CS/IT/U d- s++: a17 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$ L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+ PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r !y?(-) ------END GEEK CODE BLOCK------