From 6f201ddc79f5badfbe0e0a6c5d9d9c4a94f4e8a4 Mon Sep 17 00:00:00 2001
From: Jeff Hao <jeffhao@google.com>
Date: Tue, 11 Nov 2014 15:42:43 -0800
Subject: [PATCH] App: add permissions to read symlinks from dalvik cache.

Bug: 18035729
Change-Id: Ib60f9cd59a7a185ae99761ad29358a735ae2ad26
---
 app.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app.te b/app.te
index b9027fe90..4abf5944f 100644
--- a/app.te
+++ b/app.te
@@ -142,6 +142,7 @@ allow appdomain usbaccessory_device:chr_file { read write getattr };
 
 # For art.
 allow appdomain dalvikcache_data_file:file execute;
+allow appdomain dalvikcache_data_file:lnk_file r_file_perms;
 
 # /data/dalvik-cache/profiles
 allow appdomain dalvikcache_profiles_data_file:dir { search getattr };
-- 
GitLab