diff options
author | Alan Somers <asomers@FreeBSD.org> | 2023-12-05 23:24:28 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2023-12-08 16:22:39 +0000 |
commit | cf037972ea8863e2bab7461d77345367d2c1e054 (patch) | |
tree | 24380df9d1fc1ef2960b806b25bdd9122f5cdb3a /contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_memintrinsics.cpp | |
parent | 3494f7c019fc6558a99f63b7f647373b89bcde92 (diff) | |
download | src-cf037972ea8863e2bab7461d77345367d2c1e054.tar.gz src-cf037972ea8863e2bab7461d77345367d2c1e054.zip |
libcasper: document that most libcasper functions are not thread-safe
And neither are most libcasper services' functions, because internally
they all use cap_xfer_nvlist. cap_xfer_nvlist sends and then receives
data over a unix domain socket and associated with the cap_channel_t
argument. So absent synchronization, two threads may not use the same
cap_channel_t argument or they risk receiving the other's reply.
MFC after: 2 weeks
Sponsored by: Axcient
Reviewed by: oshogbo
Differential Revision: https://reviews.freebsd.org/D42928
Diffstat (limited to 'contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_memintrinsics.cpp')
0 files changed, 0 insertions, 0 deletions