summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-09-27 12:50:46 -0700
committerDavid Howells <dhowells@redhat.com>2017-10-18 09:12:41 +0100
commitab5c69f01313c80df948e4f768efe616258f85f4 (patch)
tree4ba32c1aad16a4bf1573a2f6b15d749b04a5eb42 /crypto
parent9d6c8711b6a751a694bcfaf49fb557b82092ee46 (diff)
downloadlinux-ab5c69f01313c80df948e4f768efe616258f85f4.tar.bz2
KEYS: load key flags and expiry time atomically in proc_keys_show()
In proc_keys_show(), the key semaphore is not held, so the key ->flags and ->expiry can be changed concurrently. We therefore should read them atomically just once. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions