Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3265ebec authored by Kalesh Singh's avatar Kalesh Singh
Browse files

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
parent 97589e43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment