Merge "allow system_server to write to cameraserver's /proc/<pid>/timerslack_ns"

This commit is contained in:
Treehugger Robot 2017-07-18 22:56:14 +00:00 committed by Gerrit Code Review
commit 9f8773b458

View file

@ -107,6 +107,9 @@ allow system_server hal_camera:process { getsched setsched };
allow system_server mediaserver:process { getsched setsched };
allow system_server bootanim:process { getsched setsched };
# Allow system_server to write to cameraserver's /proc/<pid>/timerslack_ns
allow system_server cameraserver:file w_file_perms;
# Read /proc/pid data for all domains. This is used by ProcessCpuTracker
# within system_server to keep track of memory and CPU usage for
# all processes on the device. In addition, /proc/pid files access is needed