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