[ALPS04046220] Backlight: add factory access sys_leds sepolicy
sys_leds access has been forbidden in Android P, but only init/ueventd/vold damain can access MTK-Commit-Id: 1fcd7afabaa608f6434144f16837d43a5c218df7 Change-Id: I837708bf32e95a037787ac2f23d7f58b41722735 CR-Id: ALPS04046220 Feature: Factory Mode
This commit is contained in:
parent
f9db19b954
commit
087fdc764c
@ -252,6 +252,8 @@ allow factory tmpfs:filesystem unmount;
|
|||||||
allow factory sysfs:dir { read open };
|
allow factory sysfs:dir { read open };
|
||||||
allow factory sysfs_leds:dir search;
|
allow factory sysfs_leds:dir search;
|
||||||
allow factory sysfs_leds:lnk_file read;
|
allow factory sysfs_leds:lnk_file read;
|
||||||
|
allow factory sysfs_leds:file rw_file_perms;
|
||||||
|
allow factory sysfs_leds:dir r_dir_perms;
|
||||||
allow factory sysfs_vibrator:file {open read write};
|
allow factory sysfs_vibrator:file {open read write};
|
||||||
allow factory ion_device:chr_file { read open ioctl };
|
allow factory ion_device:chr_file { read open ioctl };
|
||||||
allow factory debugfs_ion:dir search;
|
allow factory debugfs_ion:dir search;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user