mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
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 <[email protected]> Signed-off-by: David Howells <[email protected]>