mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-07 08:48:06 -04:00
universal7870: import sepolicy from 7580-common
thanks to @danwood76
This commit is contained in:
parent
9ce97a0bfb
commit
0cfeb0ec4f
61 changed files with 507 additions and 425 deletions
|
@ -2,12 +2,18 @@
|
|||
allow hal_power_default sysfs:dir r_dir_perms;
|
||||
allow hal_power_default sysfs:file r_file_perms;
|
||||
|
||||
allow hal_power_default sysfs_devices_system_cpu:file write;
|
||||
# Input devices
|
||||
allow hal_power_default sysfs_input:dir r_dir_perms;
|
||||
allow hal_power_default sysfs_input:file rw_file_perms;
|
||||
|
||||
allow hal_power_default sysfs_input:dir { open read search };
|
||||
allow hal_power_default sysfs_input:file { open read write getattr };
|
||||
# CPU devices
|
||||
allow hal_power_default sysfs_devices_system_cpu:dir search;
|
||||
allow hal_power_default sysfs_devices_system_cpu:file rw_file_perms;
|
||||
|
||||
allow hal_power_default sysfs_virtual:dir { open read search };
|
||||
allow hal_power_default sysfs_virtual:file { open read write getattr };
|
||||
allow hal_power_default sysfs:dir { read open };
|
||||
allow hal_power_default sysfs:file { read write open };
|
||||
# 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue