summaryrefslogtreecommitdiffstats
path: root/common/healthd.te
blob: 1a89553b758fda54a10f26df41ac59f85d4e328d (plain)
1
2
3
4
5
6
7
8
9
r_dir_file(healthd, sysfs_battery_supply)
r_dir_file(healthd, sysfs_usb_supply)
r_dir_file(healthd, sysfs_thermal);
r_dir_file(healthd, persist_file);

#allow healthd read rtc device file
allow healthd rtc_device:chr_file r_file_perms;
allow healthd persist_bms_file:dir rw_dir_perms;
allow healthd persist_bms_file:file create_file_perms;