aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Cashman <dcashman@google.com>2016-01-08 00:01:12 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-01-08 00:01:12 +0000
commit1bd0712e7c73e14dd8519a13567904d65b1fe6a6 (patch)
treea361aed28646a086659989a671847afced2f69fa
parent1911c27ff002880962fb04429fac950381a795de (diff)
parentcee729240e8c6a8aec63d10b4dae5d0e619229d8 (diff)
downloadsepolicy-1bd0712e7c73e14dd8519a13567904d65b1fe6a6.tar.gz
Merge "Allow domain to read symlinks in /sys."
-rw-r--r--domain.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/domain.te b/domain.te
index 98edece..fb672ad 100644
--- a/domain.te
+++ b/domain.te
@@ -96,6 +96,9 @@ allow domain system_file:dir { search getattr };
allow domain system_file:file { execute read open getattr };
allow domain system_file:lnk_file read;
+# read any sysfs symlinks
+allow domain sysfs:lnk_file read;
+
# libc references /data/misc/zoneinfo for timezone related information
r_dir_file(domain, zoneinfo_data_file)