aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaiqing Jiang <hqjiang1988@gmail.com>2012-07-30 11:24:05 -0700
committerStephen Smalley <sds@tycho.nsa.gov>2012-07-30 16:02:36 -0400
commit173cbdd35212bc79de1c654e38b1290253cf6181 (patch)
tree5ffd275c05a527da97b02b268c66b1563e39ab38
parentb19665c39da76c0e24c8cd9583e30c4a50567510 (diff)
downloadsepolicy-173cbdd35212bc79de1c654e38b1290253cf6181.tar.gz
read permission over lnk_file to devices when android_cts enabled
-rw-r--r--cts.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/cts.te b/cts.te
index 489be1a..3371410 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 };