From: Kyle Moffett <mrmacman_g4@mac.com>
To: David Howells <dhowells@redhat.com>
Cc: Andrew Morton <akpm@osdl.org>,
torvalds@osdl.org, keyrings@linux-nfs.org,
linux-kernel@vger.kernel.org
Subject: Re: [Keyrings] Re: [PATCH] Keys: Add possessor permissions to keys
Date: Mon, 3 Oct 2005 00:43:18 -0400 [thread overview]
Message-ID: <C3E4D28A-385C-4E08-822C-EC577D330EB8@mac.com> (raw)
In-Reply-To: <5543.1127327394@warthog.cambridge.redhat.com>
On Sep 21, 2005, at 14:29:54, David Howells wrote:
> (3) Key handles (which I've been asked for before).
>
> This involves detaching the permissions and suchlike from the key
> into a "handle" which can then be cloned. A temporary handle could
> then be used to hold the possession attribute and the other
> permissions at the time of the access.
>
> The downside of this is that it's quite a big change. It also makes
> joining session keyrings way more "interesting". It does have some
> nice features though.
Are there any plans to implement this functionality in the near
future? It would complement the existing security model nicely by
allowing a process to clone its key handle either explicitly (with a
keyctl call) or implicitly (by passing it over a file handle to
another process), and then later revoke the cloned handle and all
handles cloned from it with a single call, much as one can SIGKILL an
entire process group with a single kill(). It seems that a key
handle would be little more than a special sort of file handle
attached to a key. I'm curious what issues you've found with joining
session keyrings. I haven't thought about that part specifically,
but it seems that perhaps there should be a set of "default"
permissions and attributes that are associated with a new lookup-by-
key-id handle.
Cheers,
Kyle Moffett
--
There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the
other way is to make it so complicated that there are no obvious
deficiencies. The first method is far more difficult.
-- C.A.R. Hoare
next prev parent reply other threads:[~2005-10-03 4:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5378.1127211442@warthog.cambridge.redhat.com>
2005-09-21 14:48 ` David Howells
2005-09-21 15:05 ` Linus Torvalds
2005-09-21 15:44 ` David Howells
2005-09-21 17:15 ` Andrew Morton
2005-09-21 17:47 ` Trond Myklebust
2005-09-21 18:36 ` David Howells
2005-09-21 18:29 ` David Howells
2005-09-21 18:45 ` Andrew Morton
2005-09-21 18:56 ` Linus Torvalds
2005-09-22 10:00 ` David Howells
2005-10-03 4:43 ` Kyle Moffett [this message]
2005-09-21 19:23 ` James Morris
2005-09-21 18:33 ` [PATCH] Keys: Add possessor permissions to keys [try #2] David Howells
2005-09-28 16:03 ` [PATCH] Keys: Add possessor permissions to keys [try #3] David Howells
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C3E4D28A-385C-4E08-822C-EC577D330EB8@mac.com \
--to=mrmacman_g4@mac.com \
--cc=akpm@osdl.org \
--cc=dhowells@redhat.com \
--cc=keyrings@linux-nfs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®