]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e246baf710a28dea98f2784e4b076c86fa17164
tree338100ef53d4736c73be67e2ea3bd29428ecf866
parent17fffa4298b3474df7e94ee5de94ee03fef47f0a
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