keys: use keyring_alloc() to create module signing keyring
authorDavid Howells <dhowells@redhat.com>
Thu, 20 Dec 2012 23:05:56 +0000 (15:05 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 21 Dec 2012 01:40:21 +0000 (17:40 -0800)
commitcfde819088422503b5c69e03ab7bb90f87121d4d
tree338100ef53d4736c73be67e2ea3bd29428ecf866
parente67eab39bee26f509d38d00ca1a8f24b63f46a31
keys: use keyring_alloc() to create module signing keyring

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

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/modsign_pubkey.c