[Detail] Vibrator has no right to access sysfs [Solution] Add sysfs rule to vibrator te file MTK-Commit-Id: 8c598697e8ea1c72ad9753fe706ab729ac7b47d7 Change-Id: Ib90a4681121ffe4ddbb0443c220b78f42e0de722 Signed-off-by: Qiangming Xia <qiangming.xia@mediatek.com> CR-Id: ALPS03946622 Feature: [Module]Vibrator
7 lines
279 B
Plaintext
7 lines
279 B
Plaintext
# vibrator sysfs rw access
|
|
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 };
|