[<prev] [next>] [day] [month] [year] [list]
Message-ID: <47D0CC5F.807@cse.iitk.ac.in>
Date: Fri, 07 Mar 2008 10:32:23 +0530
From: Arun Raghavan <arunsr@....iitk.ac.in>
To: linux-kernel@...r.kernel.org
CC: David Howells <dhowells@...hat.com>,
Satyam Sharma <ssatyam@....iitk.ac.in>
Subject: [PATCH] keyring: 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)
[sorry if this turns up in your inbox twice]
View attachment "key_create_or_update-with-perms.diff" of type "text/plain" (2615 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)
Powered by blists - more mailing lists