diff options
author | Mao Jinlong <c_jmao@codeaurora.org> | 2015-12-03 19:37:30 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-12-29 18:23:33 -0800 |
commit | 0a81760df37f69f5124a567c9218a79170294f36 (patch) | |
tree | 078728bed33a1f58168f5a817712591400c119a4 | |
parent | 9ed5e56a0b0ef0a5b0a9fba4b69ca9ce705c2d89 (diff) | |
download | android_device_qcom_sepolicy-0a81760df37f69f5124a567c9218a79170294f36.tar.gz android_device_qcom_sepolicy-0a81760df37f69f5124a567c9218a79170294f36.tar.bz2 android_device_qcom_sepolicy-0a81760df37f69f5124a567c9218a79170294f36.zip |
healthd : allow healthd have right to read rtc dev file
healthd need to have access to rtc dev file to get rtc and alarm
time.
Change-Id: Id7224465e5e2152b6819285e0eb2e7a66d84f68c
-rw-r--r-- | common/healthd.te | 3 |
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; |