Re: [PATCH] Keys: Add possessor permissions to keys
[Posted September 21, 2005 by corbet]
From: |
| Linus Torvalds <torvalds-AT-osdl.org> |
To: |
| David Howells <dhowells-AT-redhat.com> |
Subject: |
| Re: [PATCH] Keys: Add possessor permissions to keys |
Date: |
| Wed, 21 Sep 2005 08:05:37 -0700 (PDT) |
Cc: |
| akpm-AT-osdl.org, keyrings-AT-linux-nfs.org, linux-kernel-AT-vger.kernel.org |
On Wed, 21 Sep 2005, David Howells wrote:
>
> The attached patch adds extra permission grants to keys for the possessor of a
> key in addition to the owner, group and other permissions bits. This makes
> SUID binaries easier to support without going as far as labelling keys and key
> targets using the LSM facilities.
Ok, maybe I'm just strange, but when I see code like
if (is_key_possessed(keyref)) {
I'm inevitably mentally going "Linda Blair! It is spewing pea-soup and
rotating its head!"
Maybe not the best of naming practices..
Linus