From 24b56225280980a27765135a841009319735108a Mon Sep 17 00:00:00 2001
From: Nick Kralevich <nnk@google.com>
Date: Wed, 5 Feb 2014 14:06:26 -0800
Subject: [PATCH] Remove obsolete vdc rule.

As of system/core commit 225459a5da21e9397ca49b0d9af7d5fe3462706b,
adbd no longer talks to vold. Remove the obsolete rule.

Bug: 12504045
Change-Id: I0a4f621afd8e5f8ab83219e7b0ff096c992d365f
---
 adbd.te | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/adbd.te b/adbd.te
index 4b6764759..704b7bdf0 100644
--- a/adbd.te
+++ b/adbd.te
@@ -44,10 +44,8 @@ unix_socket_connect(adbd, property, init)
 allow adbd shell_prop:property_service set;
 allow adbd powerctl_prop:property_service set;
 
-# XXX Run /system/bin/vdc to connect to vold.  Run in a separate domain?
-# Also covers running /system/bin/bu.
+# Run /system/bin/bu
 allow adbd system_file:file rx_file_perms;
-unix_socket_connect(adbd, vold, vold)
 
 # Perform binder IPC to surfaceflinger (screencap)
 # XXX Run screencap in a separate domain?
-- 
GitLab