LWN.net Logo

keys & keyring management update patch

From:  David Howells <dhowells@redhat.com>
To:  torvalds@osdl.org, akpm@osdl.org
Subject:  [PATCH] keys & keyring management update patch
Date:  Wed, 18 Aug 2004 15:07:33 +0100
Cc:  linux-kernel@vger.kernel.org


I've made available a patch that makes some alterations to my key management
stuff, mainly to support keyfs. The patch can be downloaded from:

    http://people.redhat.com/~dhowells/keys/keys-268rc4mm1.di...
    Signed-Off-By: David Howells <dhowells@redhat.com>

To summarise the changes in this patch:

 (*) There are now five permissions instead of three, which makes things
     easier. Hopefully it also means that people will stop thinking keys have
     UNIX access permissions, which they do not.

 (*) The key "chmod" operation is now "setperm".

 (*) fsuid/fsgid are now used instead of euid/egid when using permissions.

 (*) Some stuff has been moved from the internal header file into
     include/linux/key-ui.h to make it available to keyfs.

 (*) /proc/keys is now disabled by default. It pretends keys don't exist
     unless you have at least one permission on them.

David
-
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/

Copyright © 2004, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds