Home
last modified time | relevance | path

Searched hist:"9 d6c8711b6a751a694bcfaf49fb557b82092ee46" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/security/keys/
H A Dkeyring.cdiff 9d6c8711b6a751a694bcfaf49fb557b82092ee46 Wed Sep 27 14:50:45 CDT 2017 Eric Biggers <ebiggers@google.com> 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>