From 6e12daf1d9b46a388a8aefd51dff9e1ba7eea6a1 Mon Sep 17 00:00:00 2001
From: Brian Carlstrom <bdc@google.com>
Date: Tue, 9 Dec 2014 23:49:31 -0800
Subject: [PATCH] add permissions for adb shell to create symlinks in
 /data/local/tmp

Bug: 18485243

(cherry picked from commit fc6214bf5d571c4d8d364538b8160628dc380c5c)

Change-Id: I1b9e2705383bd0a3bae75b35906110e490f8785d
---
 shell.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/shell.te b/shell.te
index 5f70cd079..77b21bee0 100644
--- a/shell.te
+++ b/shell.te
@@ -21,6 +21,7 @@ allow shell anr_data_file:file r_file_perms;
 allow shell shell_data_file:dir create_dir_perms;
 allow shell shell_data_file:file create_file_perms;
 allow shell shell_data_file:file rx_file_perms;
+allow shell shell_data_file:lnk_file create_file_perms;
 
 # adb bugreport
 unix_socket_connect(shell, dumpstate, dumpstate)
-- 
GitLab