summaryrefslogtreecommitdiff
path: root/libs/binder/ProcessState.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-05-01 04:27:25 +0000
committer Steven Moreland <smoreland@google.com> 2021-05-04 01:08:59 +0000
commit736664b58bbf466ae025b789a33645b989539eaf (patch)
treece153be7aaedd4bc41a7f9bf99539de9bcc308ad /libs/binder/ProcessState.cpp
parent64117a8dfb5051cfc1399459a018773a6b544b88 (diff)
libbinder: dynamically accept clients
Server listens on a single port and add clients. The server looks like this: while True: accept client read client id if new id: create new rpc connection else: attach thread to existing rpc connection Roadmap: - having client add connections only when needed (currently they are all added at initialization time) - when this change is made, the server will also need to enforce the max threads per client. - allowing RpcConnection to create reverse connections with an threadpool to serve calls in the other direction - replacing connection IDs with something like TLS - access controls for who can connect to who in pKVM context Bug: 185167543 Test: binderRpcTest Change-Id: I510d23a50cf839c39bc8107c1b0dae24dee3bc7b
Diffstat (limited to 'libs/binder/ProcessState.cpp')
0 files changed, 0 insertions, 0 deletions