summaryrefslogtreecommitdiff
path: root/libs/binder/ProcessState.cpp
diff options
context:
space:
mode:
author Kalesh Singh <kaleshsingh@google.com> 2021-03-27 03:31:54 -0400
committer Kalesh Singh <kaleshsingh@google.com> 2021-04-05 10:44:09 -0400
commit3265ebecd49beb3752cce68d3630e82beab39c61 (patch)
tree392dd402be46a792924418b70a6ce55acb0e092d /libs/binder/ProcessState.cpp
parent97589e43b7060879322f287c1f9904f33b0abd1a (diff)
libmemtrackproxy
Helper library that implements memtrack proxy service. The service forwards requests to the appropriate AIDL or HIDL memtrack HAL if the following access control requirements are met: - Only AID_SYSTEM, AID_ROOT or AID_SHELL can request getMemory() for other processes, otherwise the requested PID must match the calling PID. - Only AID_SYSTEM, AID_ROOT or AID_SHELL can request getGpuDeviceInfo() If the above conditions are not met, the request is not forwarded to the memtrack HAL and a status with exception code EX_SECURITY is returned. Bug: 177664629 Test: memtrackproxy_test Change-Id: Icf3e0fa0500b2961b0945e800899881c9a3c86cf
Diffstat (limited to 'libs/binder/ProcessState.cpp')
0 files changed, 0 insertions, 0 deletions