From 12b8f79d389802baee5dc5498a7fd833f77cc9ae 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 279fd98fb..b2870bcc0 100644
--- a/dumpstate.te
+++ b/dumpstate.te
@@ -96,3 +96,7 @@ control_logd(dumpstate)
 # Read network state info files.
 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;
-- 
GitLab