diff --git a/private/system_server.te b/private/system_server.te index 84b9e18ba2a30376ee57b59264a3d5cce1dedd7f..fddfe2d8922c0c8f655419a9a0a4f38d5140ba16 100644 --- a/private/system_server.te +++ b/private/system_server.te @@ -114,6 +114,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