]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae85bf4891a3cce9d1705fff17d57c7dee27e768
tree1b1927cedb4f1d769fac19242f3a365c84e40cec
parent2cc14452bedacb96d1517b6f458aefcb9eae3918
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