android_device_samsung_a20/sepolicy/private/hal_power.te
SamarV-121 69841f6659 universal7885: sepolicy: Allow power HAL to write /sys/devices/system/cpu
Change-Id: I7e263adfd51eb2e2680b4ae5214734c0d5c4805c
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00

7 lines
278 B
Text

# Allow power HAL to write /sys/class/sec/tsp
r_dir_file(hal_power, sysfs_sec_tsp)
allow hal_power sysfs_sec_tsp:file write;
# Allow power HAL to write /sys/devices/system/cpu
r_dir_file(hal_power, sysfs_devices_system_cpu)
allow hal_power sysfs_devices_system_cpu:file write;