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 kmsg_device:chr_file { open write }; 12allow hal_health_default sysfs_msm_subsys:file { write }; 13allow hal_health_default sysfs_batteryinfo:file rw_file_perms; 14