[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <47CFD7F8.9010903@cse.iitk.ac.in>
Date: Thu, 06 Mar 2008 17:09:36 +0530
From: Arun Raghavan <arunsr@....iitk.ac.in>
To: David Howells <dhowells@...hat.com>, linux-kernel@...r.kernel.org
Subject: [PATCH] Allow clients to set key perms in key_create_or_update()
Hello,
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.
Cheers,
Arun
[please CC me on replies -- I'm not on the LKML)
View attachment "key_create_or_update-with-perms.diff" of type "text/plain" (2613 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)
Powered by blists - more mailing lists