Merge "[ALPS03869354] refine vibrator sysfs label" into alps-trunk-p0.basic

Change-Id: Icc4b82d34b13cbb295ed766531cc6fdca4bd9a5e
MTK-Commit-Id: e51dd72260ca4f70bf3eb17b31ff7f5c3290a44c
This commit is contained in:
Chang-An Chen 2020-01-18 09:48:07 +08:00 committed by Gerrit Code Review
commit ef0ff9c117
2 changed files with 2 additions and 1 deletions

View File

@ -3,4 +3,3 @@ allow hal_vibrator sysfs_vibrator:dir r_dir_perms;
allow hal_vibrator sysfs_leds:file rw_file_perms;
allow hal_vibrator sysfs_leds:dir r_dir_perms;
allow hal_vibrator sysfs_leds:lnk_file read;
allow hal_vibrator_default sysfs:file { open write read };

View File

@ -44,5 +44,7 @@
#MTK vibrator
/sys/devices/platform/vibrator@0/leds/vibrator(/.*)? u:object_r:sysfs_vibrator:s0
/sys/devices/virtual/timed_output/vibrator(/.*)? u:object_r:sysfs_vibrator:s0
/sys/devices/platform/leds-mt65xx/leds(/.*)? u:object_r:sysfs_leds:s0
/sys/block/mmcblk0rpmb/size u:object_r:access_sys_file:s0