summaryrefslogtreecommitdiffstats
path: root/security/keys
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2007-04-27 00:46:23 +0200
committerDavid S. Miller <davem@davemloft.net>2007-04-27 00:46:23 +0200
commit7318226ea2931a627f3572e5f4804c91ca19ecbc (patch)
treed2492bb7e87a9c1740432c4dcde13e75ee46ad8d /security/keys
parent[WORKQUEUE]: cancel_delayed_work: use del_timer() instead of del_timer_sync() (diff)
downloadlinux-7318226ea2931a627f3572e5f4804c91ca19ecbc.tar.xz
linux-7318226ea2931a627f3572e5f4804c91ca19ecbc.zip
[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 'security/keys')
-rw-r--r--security/keys/keyring.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/keys/keyring.c b/security/keys/keyring.c
index ad45ce73964b..88292e3dee96 100644
--- a/security/keys/keyring.c
+++ b/security/keys/keyring.c
@@ -66,6 +66,8 @@ struct key_type key_type_keyring = {
.read = keyring_read,
};
+EXPORT_SYMBOL(key_type_keyring);
+
/*
* semaphore to serialise link/link calls to prevent two link calls in parallel
* introducing a cycle