1r_dir_file(hal_health_default, sysfs_msm_subsys)
2
3allow hal_health_default debugfs_ufs:dir search;
4allow hal_health_default sysfs_scsi_devices_0000:dir search;
5allow hal_health_default debugfs_ufs:file { getattr open read };
6allow hal_health_default sysfs_scsi_devices_0000:file { getattr open read };
7
8allow hal_health_default persist_battery_file:file create_file_perms;
9allow hal_health_default persist_battery_file:dir rw_dir_perms;
10allow hal_health_default persist_file:dir search;
11allow hal_health_default sysfs_batteryinfo:file rw_file_perms;
12