diff options
| author | 2021-08-03 17:37:58 -0700 | |
|---|---|---|
| committer | 2021-08-04 23:21:45 +0000 | |
| commit | 4198a12cc93d5ffb84a516097f516f3175071254 (patch) | |
| tree | b96fd7d9275944d1395bf42e7de77e0d4d1a252f /libs/battery/LongArrayMultiStateCounterTest.cpp | |
| parent | 702115c3195b7cf886439441c32daaafd6e8362f (diff) | |
libbinder: allow externally created connections
We want to allow:
- VM B process S has server using RpcServer normally
- VM A process V calls socket() and connect()
- VM A process V passes connected socket to VM A process C
- VM A process C talks to S over socket directly
Where:
- V = virtmanager process
- S = server process (e.g. compOS)
- C = client process (e.g. installd)
This way, within a VM, only one process needs permissions to connect to
services, and using this service, we can control access to VM services.
Bug: 193801719
Test: binderRpcTest
Change-Id: I5af60fd24354bce21d79676231172b6357b0c1a3
Diffstat (limited to 'libs/battery/LongArrayMultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions