summaryrefslogtreecommitdiff
path: root/libs/binder/RpcState.cpp
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2022-10-05 04:22:43 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-10-05 04:22:43 +0000
commit4ba1ef38c5145d467e7db9e775d008697e9b7882 (patch)
treea547e4fbfce3de9e26761c2c78b3d6430c9c11ce /libs/binder/RpcState.cpp
parent028d0454bc4baebd49239eb2bc894452804c6b78 (diff)
parentb0221d1a8ee6d634b238361188c938e339d6083a (diff)
Merge "libbinder: Fix FD handling for queued oneway RPC transactions"
Diffstat (limited to 'libs/binder/RpcState.cpp')
-rw-r--r--libs/binder/RpcState.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/binder/RpcState.cpp b/libs/binder/RpcState.cpp
index c411f4fed3..7067328358 100644
--- a/libs/binder/RpcState.cpp
+++ b/libs/binder/RpcState.cpp
@@ -886,6 +886,7 @@ processTransactInternalTailCall:
it->second.asyncTodo.push(BinderNode::AsyncTodo{
.ref = target,
.data = std::move(transactionData),
+ .ancillaryFds = std::move(ancillaryFds),
.asyncNumber = transaction->asyncNumber,
});
@@ -1046,6 +1047,7 @@ processTransactInternalTailCall:
// reset up arguments
transactionData = std::move(todo.data);
+ ancillaryFds = std::move(todo.ancillaryFds);
LOG_ALWAYS_FATAL_IF(target != todo.ref,
"async list should be associated with a binder");