Re: [PATCH] Allow clients to set key perms in key_create_or_update()

From: David Howells
Date: Fri Mar 07 2008 - 04:48:59 EST


Arun Raghavan <arunsr@xxxxxxxxxxxxxx> wrote:

> 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.

I'll get to this shortly. I'm just creating another keyrings patch, so I'll
look at yours afterwards.

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