summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/ClientCache.cpp
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2022-09-23 12:25:18 +0100
committer David Brazdil <dbrazdil@google.com> 2022-10-07 11:24:45 +0100
commit21c887c5a09040bf41d272a9e729119956e48a3f (patch)
tree3eb1e98a6aacd9b8134172f5decc9520d456d2b9 /services/surfaceflinger/ClientCache.cpp
parentcd8e35be036417c14c270a2ebc94e968d930c478 (diff)
RpcBinder: Add AF_UNIX socketpair transport
Add support for running RpcBinder over unnamed Unix domain sockets created by socketpair(). This is useful e.g. between parent/child processes. The implementation uses the initial socket pair only to create more socket pairs for individual connections. This creates a natural mapping to syscalls used on sockets bound to an address: socket() socketpair() bind() n/a (preconnected) connect() sendmsg() listen() recvmsg() Bug: 250685929 Test: atest binderRpcTest Change-Id: Id4ff3946ddcfefe3592eb1149c61582f7369aa29
Diffstat (limited to 'services/surfaceflinger/ClientCache.cpp')
0 files changed, 0 insertions, 0 deletions