From a21e865535f9389929576708791dbc87a4b0b2c0 Mon Sep 17 00:00:00 2001
From: Robert Quattlebaum <rquattle@google.com>
Date: Mon, 20 Nov 2017 22:44:17 -0800
Subject: [PATCH] wpantund: allow wpantund permission_service:service_manager
 find

This permission is needed so that wpantund can enforce Android permissions.

Bug: b/69582511
Change-Id: If250c9edfff215e73072b0cd7ed8a597c475c586
---
 public/wpantund.te | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/public/wpantund.te b/public/wpantund.te
index a97481eb2..4bde34127 100644
--- a/public/wpantund.te
+++ b/public/wpantund.te
@@ -10,6 +10,9 @@ binder_call(wpantund, system_server)
 # wpantund needs to be able to check in with the lowpan_service
 allow wpantund lowpan_service:service_manager find;
 
+# wpantund needs to be able to verify permissions
+allow wpantund permission_service:service_manager find;
+
 # Allow wpantund to call any callbacks that have been registered with it.
 # Generally, only privileged apps are able to register callbacks with
 # wpantund, so we are limiting the scope for callbacks to only privileged
-- 
GitLab