[PATCH 4/5] AF_RXRPC: Key facility changes for AF_RXRPC [try #3]

2007-03-20 Thread David Howells
Export the keyring key type definition and document its availability. Add alternative types into the key's type_data union to make it more useful. Not all users necessarily want to use it as a list_head (AF_RXRPC doesn't, for example), so make it clear that it can be used in other ways. Signed-Of

Re: [PATCH 4/5] AF_RXRPC: Key facility changes for AF_RXRPC [try #2]

2007-03-16 Thread David Howells
Christoph Hellwig <[EMAIL PROTECTED]> wrote: > You wrote the code so there must be some reason for this, but these > changes look rather odd to me :) The union is for use by the type in any way it sees fit, but it may not want to use it as a list_head. So all I've done is to make it available as

Re: [PATCH 4/5] AF_RXRPC: Key facility changes for AF_RXRPC [try #2]

2007-03-16 Thread Christoph Hellwig
On Fri, Mar 16, 2007 at 12:50:31PM +, David Howells wrote: > Export the keyring key type definition. > > Add extra alternative types into the key's type_data union to make it more > useful. You wrote the code so there must be some reason for this, but these changes look rather odd to me :) >

[PATCH 4/5] AF_RXRPC: Key facility changes for AF_RXRPC [try #2]

2007-03-16 Thread David Howells
Export the keyring key type definition. Add extra alternative types into the key's type_data union to make it more useful. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- include/linux/key.h |2 ++ security/keys/keyring.c |2 ++ 2 files changed, 4 insertions(+), 0 deletions(-)

[PATCH 4/5] AF_RXRPC: Key facility changes for AF_RXRPC

2007-03-08 Thread David Howells
Export the keyring key type definition. Add extra alternative types into the key's type_data union to make it more useful. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- include/linux/key.h |2 ++ security/keys/keyring.c |2 ++ 2 files changed, 4 insertions(+), 0 deletions(-)