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:
Mohamad Mahmoud 2022-05-25 16:07:50 +00:00 committed by Automerger Merge Worker
commit 6534eb696b

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.