Merge "Allow system_server to read io and cpu pressure data Test: tested on device Bug: b/233036368"

This commit is contained in:
Mohamad Mahmoud 2022-05-25 15:49:20 +00:00 committed by Gerrit Code Review
commit e7d1f32250

View file

@ -1429,6 +1429,8 @@ neverallow {
# Read/Write /proc/pressure/memory
allow system_server proc_pressure_mem:file rw_file_perms;
# Read /proc/pressure/cpu and /proc/pressure/io
allow system_server { proc_pressure_cpu proc_pressure_io }:file r_file_perms;
# dexoptanalyzer is currently used only for secondary dex files which
# system_server should never access.