android_device_samsung_univ.../sepolicy/hal_power_default.te
2020-06-30 20:58:08 +02:00

19 lines
656 B
Text

# Allow reading of sysfs nodes to find input devices
allow hal_power_default sysfs:dir r_dir_perms;
allow hal_power_default sysfs:file r_file_perms;
# Input devices
allow hal_power_default sysfs_input:dir r_dir_perms;
allow hal_power_default sysfs_input:file rw_file_perms;
# CPU devices
allow hal_power_default sysfs_devices_system_cpu:dir search;
allow hal_power_default sysfs_devices_system_cpu:file rw_file_perms;
# Lights
allow hal_power_default sysfs_light:dir search;
allow hal_power_default sysfs_light:file rw_file_perms;
# Graphics
allow hal_power_default sysfs_graphics:dir search;
allow hal_power_default sysfs_graphics:file rw_file_perms;