From: Arun Raghavan Date: Tue, 29 Apr 2008 08:01:28 +0000 (-0700) Subject: keys: allow clients to set key perms in key_create_or_update() X-Git-Tag: v2.6.26-rc1~504 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b79ccb5144f9ffb4d4596c23e7570238dd12abc;p=pandora-kernel.git keys: allow clients to set key perms in key_create_or_update() The key_create_or_update() function provided by the keyring code has a default set of permissions that are always applied to the key when created. This might not be desirable to all clients. Here's a patch that adds a "perm" parameter to the function to address this, which can be set to KEY_PERM_UNDEF to revert to the current behaviour. Signed-off-by: Arun Raghavan Signed-off-by: David Howells Cc: Satyam Sharma Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed