]> git.baikalelectronics.ru Git - kernel.git/commit
KEYS: Provide a generic instantiation function
authorDavid Howells <dhowells@redhat.com>
Fri, 18 Jul 2014 17:56:34 +0000 (18:56 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 18 Jul 2014 17:56:34 +0000 (18:56 +0100)
commit7147624bb6a9ceb47f9d7622464fe94d58fa368f
treed56b7ce27813ea9ab20ae1f22236af76b5390d6a
parent0871d4cdc93516d728401a6604c17ba4c47e883f
KEYS: Provide a generic instantiation function

Provide a generic instantiation function for key types that use the preparse
hook.  This makes it easier to prereserve key quota before keyrings get locked
to retain the new key.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Steve Dickson <steved@redhat.com>
Acked-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Sage Weil <sage@redhat.com>
crypto/asymmetric_keys/asymmetric_type.c
include/linux/key-type.h
security/keys/key.c