aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys/proc.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-09-27 12:50:45 -0700
committerDavid Howells <dhowells@redhat.com>2017-10-18 09:12:41 +0100
commit9d6c8711b6a751a694bcfaf49fb557b82092ee46 (patch)
treedc8b395982b19ceae03b85dbdf34e7388a6828fa /security/keys/proc.c
parentKEYS: load key flags and expiry time atomically in key_validate() (diff)
downloadlinux-dev-9d6c8711b6a751a694bcfaf49fb557b82092ee46.tar.xz
linux-dev-9d6c8711b6a751a694bcfaf49fb557b82092ee46.zip
KEYS: Load key expiry time atomically in keyring_search_iterator()
Similar to the case for key_validate(), we should load the key ->expiry once atomically in keyring_search_iterator(), since it can be changed concurrently with the flags whenever the key semaphore isn't held. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions