From 44d47c035e9e1bf4faafde7bd5b212f3de8d8128 Mon Sep 17 00:00:00 2001
From: Tej Singh <singhtejinder@google.com>
Date: Mon, 24 Sep 2018 10:31:52 -0700
Subject: [PATCH] Sepolicy for migrating storaged to statsd

This adds /proc/uid_io/stats to the files that system server is able to
read.

Test: Manual test on master produces no selinux violations.
Change-Id: I2c7afec149f893b000094739d91531dec559de6f
---
 private/system_server.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/private/system_server.te b/private/system_server.te
index 7b0ddaab8..6d3d1e340 100644
--- a/private/system_server.te
+++ b/private/system_server.te
@@ -775,6 +775,7 @@ allow system_server {
   proc_pipe_conf
   proc_stat
   proc_uid_cputime_showstat
+  proc_uid_io_stats
   proc_uid_time_in_state
   proc_uid_concurrent_active_time
   proc_uid_concurrent_policy_time
-- 
GitLab