From 0a81760df37f69f5124a567c9218a79170294f36 Mon Sep 17 00:00:00 2001 From: Mao Jinlong Date: Thu, 3 Dec 2015 19:37:30 +0800 Subject: 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 --- common/healthd.te | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3