Merge "Allow system_server to read io and cpu pressure data Test: tested on device Bug: b/233036368" am: e7d1f32250
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2103244 Change-Id: Ib5d2e8d9cb9d9eaaea884389f2315331f577aac6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
6534eb696b
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue