summaryrefslogtreecommitdiff
path: root/libs/binder/RpcSession.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-06-22 19:18:28 +0000
committer Steven Moreland <smoreland@google.com> 2021-06-23 18:58:08 +0000
commit7a5889cc328fa9cb04d9e4e913dd30e7e91e67d0 (patch)
treee24023ebb036bd0826ddf57f0660d5324a1e0dff /libs/binder/RpcSession.cpp
parent41c93883b55f7cd0bec9efca40ba2453aeb0ac19 (diff)
LazyServiceRegistrar: race w/ register & onClients
This is similar to a fix in HIDL. In AIDL, we have more control over when a threadpool starts, so this race is only possible when someone configures their services after starting the threadpool: - a process has a threadpool of size > 1 - it calls register service (but hasn't recorded internally that the service is registered) - another process gets ahold of the service - servicemanager tells the service it has a client - the service aborts, because it has no record of registering this service Bug: 191608065 Test: aidl_lazy_test Change-Id: I9e61a1c958d82035d49eb84e6ae71dba00019c43
Diffstat (limited to 'libs/binder/RpcSession.cpp')
0 files changed, 0 insertions, 0 deletions