From ba68f5547e351b6638be24137c1fedc68be44ec6 Mon Sep 17 00:00:00 2001
From: Steven Moreland <smoreland@google.com>
Date: Thu, 26 Jan 2017 14:30:52 -0800
Subject: [PATCH] Dumpstate: hwbinder_use

Dumpstate needs the hwbinder_use permission in order to talk to hardware
services.

Bug: 34709307
Test: no denials submitting bugreport
Change-Id: Ic51da5371cd346c0fa9fb3881a47adaf53c93566
---
 public/dumpstate.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/public/dumpstate.te b/public/dumpstate.te
index c120736e8..4882b9814 100644
--- a/public/dumpstate.te
+++ b/public/dumpstate.te
@@ -89,6 +89,7 @@ binder_call(dumpstate, { appdomain netd wificond })
 
 # Vibrate the device after we are done collecting the bugreport
 # For binderized mode:
+hwbinder_use(dumpstate)
 binder_call(dumpstate, hal_dumpstate)
 binder_call(dumpstate, hal_vibrator)
 binder_call(dumpstate, hwservicemanager)
-- 
GitLab