summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-01-06 07:02:10 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-01-06 07:02:10 -0800
commit5e4ef80e5181a97893d1d53cd3ed612d96cf28c4 (patch)
tree6fc40c386d6f5a7734dd31fcde75b63beee7571a
parentff5105e7430e03429471588f12dfcd7775760e9f (diff)
parent0a81760df37f69f5124a567c9218a79170294f36 (diff)
downloadandroid_device_qcom_sepolicy-5e4ef80e5181a97893d1d53cd3ed612d96cf28c4.tar.gz
android_device_qcom_sepolicy-5e4ef80e5181a97893d1d53cd3ed612d96cf28c4.tar.bz2
android_device_qcom_sepolicy-5e4ef80e5181a97893d1d53cd3ed612d96cf28c4.zip
Merge "healthd : allow healthd have right to read rtc dev file"
-rw-r--r--common/healthd.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/healthd.te b/common/healthd.te
index 3f7f25b0..c98ebff2 100644
--- a/common/healthd.te
+++ b/common/healthd.te
@@ -1,3 +1,6 @@
r_dir_file(healthd, sysfs_battery_supply)
r_dir_file(healthd, sysfs_usb_supply)
r_dir_file(healthd, sysfs_thermal);
+
+#allow healthd read rtc device file
+allow healthd rtc_device:chr_file r_file_perms;