]> 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)
commit8a2c6cff7007610b43be829a7a61ae019bed3493
tree338100ef53d4736c73be67e2ea3bd29428ecf866
parent26c4a2feb393f818d2bd085ddf857d7ea404531d
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