Merge "Allow system_server to read /proc/vmstat" am: 03b80a12e4

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1729391

Change-Id: Ib62addb6c8bfebbc2804295996c098d10274a3da
This commit is contained in:
Treehugger Robot 2021-06-10 11:22:29 +00:00 committed by Automerger Merge Worker
commit 56b9d1fd7b

View file

@ -222,6 +222,9 @@ allow system_server sysfs_dmabuf_stats:file r_file_perms;
# for dumpsys meminfo
allow system_server dmabuf_heap_device:dir r_dir_perms;
# Allow reading /proc/vmstat for the oom kill count
allow system_server proc_vmstat:file r_file_perms;
# The DhcpClient and WifiWatchdog use packet_sockets
allow system_server self:packet_socket create_socket_perms_no_ioctl;