summaryrefslogtreecommitdiffstats
path: root/non_plat/hal_vibrator.te
diff options
context:
space:
mode:
authormtk14723 <xing.zhang@mediatek.com>2019-09-03 11:35:35 +0800
committerXing Zhang <xing.zhang@mediatek.com>2020-01-07 14:48:33 +0800
commitedcfd78b06033dbb13016ebbb094cd2e02f8c04d (patch)
tree6ccdded4dd7442b396c1e784e90b11a1b38e78a2 /non_plat/hal_vibrator.te
parentae996c5246458b8f9ed9d81510dc9ab2dbcf3af5 (diff)
downloaddevice_mediatek_wembley-sepolicy-edcfd78b06033dbb13016ebbb094cd2e02f8c04d.tar.gz
device_mediatek_wembley-sepolicy-edcfd78b06033dbb13016ebbb094cd2e02f8c04d.tar.bz2
device_mediatek_wembley-sepolicy-edcfd78b06033dbb13016ebbb094cd2e02f8c04d.zip
[ALPS04248635] Vibrator: add the new path for driver
[Detail] Add the new path for regulator-vibrator driver Change-Id: I6d63442e7bc859630035265a35b5e8651635a398 CR-Id: ALPS04248635 Feature: [Module]Vibrator (cherry picked from commit fc460909faba8ab1d940b30413f50612d543df33)
Diffstat (limited to 'non_plat/hal_vibrator.te')
-rw-r--r--non_plat/hal_vibrator.te2
1 files changed, 1 insertions, 1 deletions
diff --git a/non_plat/hal_vibrator.te b/non_plat/hal_vibrator.te
index 7f13029..11742f8 100644
--- a/non_plat/hal_vibrator.te
+++ b/non_plat/hal_vibrator.te
@@ -3,4 +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 };
+allow hal_vibrator sysfs_vibrator:file rw_file_perms;