diff options
author | David Howells <dhowells@redhat.com> | 2007-04-26 15:46:23 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-26 15:46:23 -0700 |
commit | 7318226ea2931a627f3572e5f4804c91ca19ecbc (patch) | |
tree | d2492bb7e87a9c1740432c4dcde13e75ee46ad8d /include/linux/key.h | |
parent | 071b638689464c6b39407025eedd810d5b5e6f5d (diff) | |
download | kernel_samsung_espresso10-7318226ea2931a627f3572e5f4804c91ca19ecbc.zip kernel_samsung_espresso10-7318226ea2931a627f3572e5f4804c91ca19ecbc.tar.gz kernel_samsung_espresso10-7318226ea2931a627f3572e5f4804c91ca19ecbc.tar.bz2 |
[AF_RXRPC]: Key facility changes for AF_RXRPC
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-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/key.h')
-rw-r--r-- | include/linux/key.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/key.h b/include/linux/key.h index 169f05e..a9220e7 100644 --- a/include/linux/key.h +++ b/include/linux/key.h @@ -160,6 +160,8 @@ struct key { */ union { struct list_head link; + unsigned long x[2]; + void *p[2]; } type_data; /* key data |