Re: [PATCH] Keys: Add possessor permissions to keys

From: Linus Torvalds
Date: Wed Sep 21 2005 - 10:06:20 EST




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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/