From b2eaa28d11c6fed7806c08728ef624819171d627 Mon Sep 17 00:00:00 2001
From: Christopher Ferris <cferris@google.com>
Date: Tue, 22 Jul 2014 18:39:04 -0700
Subject: [PATCH] Allow dumpstate to read /data/tombstones.

Change-Id: Iad32cfb4d5b69176fc551b8339d84956415a4fe7
---
 dumpstate.te | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dumpstate.te b/dumpstate.te
index 242cb9326..481febad2 100644
--- a/dumpstate.te
+++ b/dumpstate.te
@@ -97,6 +97,10 @@ control_logd(dumpstate)
 allow dumpstate net_data_file:dir search;
 allow dumpstate net_data_file:file r_file_perms;
 
+# Access /data/tombstones.
+allow dumpstate tombstone_data_file:dir r_dir_perms;
+allow dumpstate tombstone_data_file:file r_file_perms;
+
 service_manager_local_audit_domain(dumpstate)
 auditallow dumpstate {
     service_manager_type
-- 
GitLab