android_device_samsung_msm8.../sepolicy/hal_power_default.te

13 lines
462 B
Text
Raw Normal View History

add_hwservice(hal_power_default, hal_miscpower_hwservice)
allow hal_power_default sysfs_devices_system_cpu:file rw_file_perms;
allow hal_power_default sysfs_batteryinfo:dir r_dir_perms;
allow hal_power_default sysfs_batteryinfo:file rw_file_perms;
allow hal_power_default sysfs_tsp:dir r_dir_perms;
allow hal_power_default sysfs_tsp:file rw_file_perms;
allow hal_power_default sysfs_tsp:lnk_file read;
allow hal_power_default sysfs:file { open read write };