KEYS: Use keyring_alloc() to create special keyrings
authorDavid Howells <dhowells@redhat.com>
Tue, 2 Oct 2012 18:24:56 +0000 (19:24 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 2 Oct 2012 18:24:56 +0000 (19:24 +0100)
commitf8aa23a55f813c9bddec2a6176e0e67274e6e7c1
tree1b1927cedb4f1d769fac19242f3a365c84e40cec
parent96b5c8fea6c0861621051290d705ec2e971963f1
KEYS: Use keyring_alloc() to create special keyrings

Use keyring_alloc() to create special keyrings now that it has a permissions
parameter rather than using key_alloc() + key_instantiate_and_link().

Also document and export keyring_alloc() so that modules can use it too.

Signed-off-by: David Howells <dhowells@redhat.com>
Documentation/security/keys.txt
fs/cifs/cifsacl.c
fs/nfs/idmap.c
net/dns_resolver/dns_key.c
security/keys/keyring.c