android_mt6572_jiabo/device/qcom/sepolicy/common/healthd.te
2025-09-05 16:56:03 +08:00

10 lines
377 B
Text

r_dir_file(healthd, sysfs_battery_supply)
r_dir_file(healthd, sysfs_dc_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;