keys: Move the RCU locks outwards from the keyring search functions
authorDavid Howells <dhowells@redhat.com>
Wed, 19 Jun 2019 15:10:15 +0000 (16:10 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 19 Jun 2019 15:10:15 +0000 (16:10 +0100)
commite59428f721ee096d8a020504ea908a6f0d952735
tree4efe82c08f4a65a5a8834a7b75f831569e03c3ba
parenta09003b5d7cea71ce4b59e409d5a7158c789e1b4
keys: Move the RCU locks outwards from the keyring search functions

Move the RCU locks outwards from the keyring search functions so that it
will become possible to provide an RCU-capable partial request_key()
function in a later commit.

Signed-off-by: David Howells <dhowells@redhat.com>
Documentation/security/keys/request-key.rst
include/keys/request_key_auth-type.h
security/keys/internal.h
security/keys/keyring.c
security/keys/proc.c
security/keys/process_keys.c
security/keys/request_key.c
security/keys/request_key_auth.c