diff options
| author | Eric Biggers <[email protected]> | 2017-09-27 19:50:46 +0000 |
|---|---|---|
| committer | David Howells <[email protected]> | 2017-10-18 08:12:41 +0000 |
| commit | ab5c69f01313c80df948e4f768efe616258f85f4 (patch) | |
| tree | 4ba32c1aad16a4bf1573a2f6b15d749b04a5eb42 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | KEYS: Load key expiry time atomically in keyring_search_iterator() (diff) | |
| download | kernel-ab5c69f01313c80df948e4f768efe616258f85f4.tar.gz kernel-ab5c69f01313c80df948e4f768efe616258f85f4.zip | |
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 <[email protected]>
Signed-off-by: David Howells <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
