diff --git a/private/system_server.te b/private/system_server.te index 6f1579bf8734abf13b9b16bed374d46fd5cda0e9..94a8bd5317ebcf082aed04c4b62da59f62845959 100644 --- a/private/system_server.te +++ b/private/system_server.te @@ -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