summaryrefslogtreecommitdiffstats
path: root/security/keys/keyctl.c
diff options
context:
space:
mode:
authorDavid Howells2019-05-30 12:37:39 +0200
committerDavid Howells2019-05-30 23:30:55 +0200
commitdf593ee23e05cdda16c8c995e5818779431bb29f (patch)
tree1abe20cf6ac343d4b0f92756c19ad1b6b7a70a65 /security/keys/keyctl.c
parentkeys: Break bits out of key_unlink() (diff)
downloadkernel-qcow2-linux-df593ee23e05cdda16c8c995e5818779431bb29f.tar.gz
kernel-qcow2-linux-df593ee23e05cdda16c8c995e5818779431bb29f.tar.xz
kernel-qcow2-linux-df593ee23e05cdda16c8c995e5818779431bb29f.zip
keys: Hoist locking out of __key_link_begin()
Hoist the locking of out of __key_link_begin() and into its callers. This is necessary to allow the upcoming key_move() operation to correctly order taking of the source keyring semaphore, the destination keyring semaphore and the keyring serialisation lock. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'security/keys/keyctl.c')
0 files changed, 0 insertions, 0 deletions