summaryrefslogtreecommitdiff
path: root/libs/binder/RpcState.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-09-27 18:38:20 -0700
committer Steven Moreland <smoreland@google.com> 2021-09-27 18:39:34 -0700
commitab3f442e84cbb7dfd21197ee452c3b480eda481f (patch)
treeafc03b3e0ca717cb8a038ca40b38bd5dae440c5d /libs/binder/RpcState.cpp
parent10717131812eaf84724f3dcc50880e38d9e03f59 (diff)
libbinder: RPC avoid FdTrigger shutdown race
RpcSession's FdTrigger can't have simultaneous calls to trigger. This will cause a double-close of the FD. Take locks to avoid this case. Bug: 200368820 Test: binderRpcTest, binder_rpc_fuzzer, binder_bpBinderFuzz Change-Id: I94822f441142b3a1352e38adacb8e17f285d66ac
Diffstat (limited to 'libs/binder/RpcState.cpp')
0 files changed, 0 insertions, 0 deletions