[ALPS03719620] vibrator: Add sepolicy rule
[Detail] Add sysfs access rules for vibrator [Solution] Add sysfs open, read and write sepolicy rules in hal_vibrator.te MTK-Commit-Id: ed1f986144b0203c1ae7aaba37abab0395a6b2b7 Change-Id: Id7f177b9d3d467abbecb8bc82c6eea8ad20686d5 Signed-off-by: Qiangming Xia <qiangming.xia@mediatek.com> CR-Id: ALPS03719620 Feature: Sensor Hub (cherry picked from commit ecc33e156f84105aa3f4dea1c158dbc27524de56)
This commit is contained in:
parent
6558fc5a6d
commit
d01fb1d28d
@ -3,3 +3,4 @@ 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 };
|
||||
|
Loading…
x
Reference in New Issue
Block a user