universal7580: sepolicy: Resolve tethering_service denial
[GitHub/LineageOS/android_device_samsung_universal7580-common.git] / sepolicy / hal_power_default.te
CommitLineData
6a2f233e
DW
1# Allow reading of sysfs nodes to find input devices
2allow hal_power_default sysfs:dir r_dir_perms;
3allow hal_power_default sysfs:file r_file_perms;
4
c63278d0 5# Input devices
ee133eb7
JA
6allow hal_power_default sysfs_input:dir r_dir_perms;
7allow hal_power_default sysfs_input:file rw_file_perms;
c63278d0 8
c1a50488
DW
9# CPU devices
10allow hal_power_default sysfs_devices_system_cpu:dir search;
11allow hal_power_default sysfs_devices_system_cpu:file rw_file_perms;
12
13# Lights
c63278d0
DW
14allow hal_power_default sysfs_light:dir search;
15allow hal_power_default sysfs_light:file rw_file_perms;
16
17# Graphics
18allow hal_power_default sysfs_graphics:dir search;
19allow hal_power_default sysfs_graphics:file rw_file_perms;