mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-04 23:47:47 -04:00

The sepolicy before seems to be broken Change-Id: I890a28429f03e47a183a0a0b755987f3495994c3
19 lines
656 B
Text
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;
|