# Allow hal_power_default to write to dt2w nodes allow hal_power_default input_device:dir r_dir_perms; allow hal_power_default input_device:chr_file rw_file_perms; # To get/set powerhal state property set_prop(hal_power_default, power_prop) allow hal_power_default { sysfs_devices_system_cpu sysfs_msm_subsys proc_sched_energy_aware }:file rw_file_perms; allow hal_power_default sysfs_msm_subsys:dir search; allow hal_power_default latency_device:chr_file rw_file_perms; # The following folder is incidentally accessed by hal_power_default and is not needed. dontaudit hal_power_default cgroup:file read;