commit | a18714f29a37812985aeab389cd136c424d13acf | [log] [tgz] |
---|---|---|
author | Stefan Berger <stefanb@linux.ibm.com> | Fri Mar 22 14:16:16 2024 -0400 |
committer | Stefan Berger <stefanb@us.ibm.com> | Fri Mar 22 16:03:03 2024 -0400 |
tree | fc7995d224129b75527eaf2f93d5f8adc4e87ba4 | |
parent | d258668d51df83563324a3364ee99673221b4c43 [diff] |
swtpm: cuse: Lock file_ops_lock before reading tpm_running Lock the file_ops_lock before reading the tpm_running variable so that access to access to it is serialized among all possible threads. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>