From 140a019aed068bdf86ac37c2f57951e5d7b088f9 Mon Sep 17 00:00:00 2001 From: Mark Salyzyn <salyzyn@google.com> Date: Wed, 9 Dec 2015 16:27:36 -0800 Subject: [PATCH] dumpstate: storage statistics Deal with a few audit failures Bug: 24200279 Change-Id: Ifb8e936738ef9c8576842576315cca2825310d3a --- dumpstate.te | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dumpstate.te b/dumpstate.te index 1a001dcc7..c3f919286 100644 --- a/dumpstate.te +++ b/dumpstate.te @@ -64,7 +64,9 @@ allow dumpstate sysfs:file w_file_perms; allow dumpstate qtaguid_proc:file r_file_perms; allow dumpstate debugfs:file r_file_perms; # df for /storage/emulated needs search -allow dumpstate storage_file:dir search; +allow dumpstate { storage_file block_device }:dir { search getattr }; +allow dumpstate fuse_device:chr_file getattr; +allow dumpstate { dm_device cache_block_device }:blk_file getattr; # Allow dumpstate to make binder calls to any binder service binder_call(dumpstate, binderservicedomain) -- GitLab