17b1af773e
The control chardev is being used from the data thread to set the locality of the next request. Altough the chr has a write mutex, we may potentially read the reply from another thread request. Add a mutex to protect from concurrent control commands. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> |
||
---|---|---|
.. | ||
Makefile.objs | ||
tpm_emulator.c | ||
tpm_int.h | ||
tpm_ioctl.h | ||
tpm_passthrough.c | ||
tpm_tis.c | ||
tpm_util.c | ||
tpm_util.h |