1typeattribute hal_power_default data_between_core_and_vendor_violators; 2allow hal_power perfd:unix_stream_socket connectto; 3allow hal_power perfd_data_file:dir search; 4allow hal_power perfd_data_file:sock_file write; 5 6allow hal_power sysfs_soc:dir search; 7allow hal_power sysfs_soc:file { open read }; 8 9# debugfs entries are only needed in user-debug or eng builds 10allow hal_power debugfs_rpm:file r_file_perms; 11 12allow hal_power debugfs_wlan:dir r_dir_perms; 13allow hal_power debugfs_wlan:file r_file_perms; 14 15