From 49dca3f0a418496c6814230ed57c21feb4afa0b4 Mon Sep 17 00:00:00 2001
From: repo sync <gcondra@google.com>
Date: Wed, 1 May 2013 10:57:15 -0700
Subject: [PATCH] Add rule to allow system to write to the adbd socket.

Change-Id: I56e3ddae08b0c3d5e6b2492a6754899cc4e25a21
---
 system.te | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/system.te b/system.te
index 761f28283..66a7afc4e 100644
--- a/system.te
+++ b/system.te
@@ -220,3 +220,6 @@ allow system sensors_device:chr_file rw_file_perms;
 
 # Allow system to search the /sys/devices/system/cpu directory
 allow system sysfs_devices_system_cpu:dir search;
+
+# Allow system to write to the adbd_socket
+allow system adbd_socket:sock_file write;
-- 
GitLab