From 173cbdd35212bc79de1c654e38b1290253cf6181 Mon Sep 17 00:00:00 2001
From: Haiqing Jiang <hqjiang1988@gmail.com>
Date: Mon, 30 Jul 2012 11:24:05 -0700
Subject: [PATCH] read permission over lnk_file to devices when android_cts
 enabled

---
 cts.te | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cts.te b/cts.te
index 489be1a71..3371410d6 100644
--- a/cts.te
+++ b/cts.te
@@ -31,6 +31,9 @@ allow appdomain system_file:file rx_file_perms;
 allow appdomain apk_tmp_file:file rw_file_perms;
 allow appdomain shell_data_file:file r_file_perms;
 
+# Read permission over link file to devices.
+allow appdomain dev_type:lnk_file read;
+
 # Read routing information.
 allow netdomain self:netlink_route_socket { create read write nlmsg_read };
 
-- 
GitLab