From 155e7108306240da7a3169bb42b65ae04a47ad1c Mon Sep 17 00:00:00 2001
From: Nick Kralevich <nnk@google.com>
Date: Thu, 14 Jan 2016 21:14:30 -0800
Subject: [PATCH] adbd.te: remove allow adbd toolbox_exec:file rx_file_perms

auditallow says never used.

Change-Id: I6a3f82740bfecf483e0ccbb528b7218af36d37b8
---
 adbd.te | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/adbd.te b/adbd.te
index 3807c587d..76a0febd1 100644
--- a/adbd.te
+++ b/adbd.te
@@ -52,10 +52,6 @@ set_prop(adbd, ffs_prop)
 # Run /system/bin/bu
 allow adbd system_file:file rx_file_perms;
 
-# XXX Run toolbox.  Might not be needed.
-allow adbd toolbox_exec:file rx_file_perms;
-auditallow adbd toolbox_exec:file rx_file_perms;
-
 # Perform binder IPC to surfaceflinger (screencap)
 # XXX Run screencap in a separate domain?
 binder_use(adbd)
-- 
GitLab