From a866a416e9ff73295a19c38552be95d1269b044b Mon Sep 17 00:00:00 2001 From: Sandeep Patil <sspatil@google.com> Date: Wed, 22 Mar 2017 12:44:16 -0700 Subject: [PATCH] dumpstate: allow HALs to read /proc/interrupts /proc/interrupts may be dumped by dumpstate HAL if required. Bug: 36486169 Test: 'adb shell bugreport' on sailfish Change-Id: Ifc41a516aeea846bc56b86b064bda555b43c58ed Signed-off-by: Sandeep Patil <sspatil@google.com> --- public/hal_dumpstate.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/hal_dumpstate.te b/public/hal_dumpstate.te index d5723b91c..884b6fc2e 100644 --- a/public/hal_dumpstate.te +++ b/public/hal_dumpstate.te @@ -4,3 +4,5 @@ binder_call(hal_dumpstate_server, hal_dumpstate_client) # write bug reports in /data/data/com.android.shell/files/bugreports/bugreport allow hal_dumpstate shell_data_file:file write; +# allow reading /proc/interrupts for all hal impls +allow hal_dumpstate proc_interrupts:file r_file_perms; -- GitLab