Merge "label missing vibrator sys nodes" into sc-dev

This commit is contained in:
Adam Shih 2021-03-19 05:32:27 +00:00 committed by Android (Google) Code Review
commit 3f6e2bba41
2 changed files with 1 additions and 13 deletions

View file

@ -1,13 +0,0 @@
# b/174961422
dontaudit hal_vibrator_default property_type:file * ;
# b/182954060
dontaudit hal_vibrator_default sysfs:file { getattr };
dontaudit hal_vibrator_default sysfs:file { getattr };
dontaudit hal_vibrator_default sysfs:file { getattr };
dontaudit hal_vibrator_default sysfs:file { getattr };
dontaudit hal_vibrator_default sysfs:file { getattr };
dontaudit hal_vibrator_default sysfs:file { open };
dontaudit hal_vibrator_default sysfs:file { read write };
dontaudit hal_vibrator_default sysfs:file { open };
dontaudit hal_vibrator_default sysfs:file { read write };
dontaudit hal_vibrator_default sysfs:file { getattr };

View file

@ -59,6 +59,7 @@ genfscon sysfs /devices/platform/14700000.ufs/ufs_stats u:object
# Vibrator
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/4-005a u:object_r:sysfs_vibrator:s0
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/4-0043 u:object_r:sysfs_vibrator:s0
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-5/5-0043 u:object_r:sysfs_vibrator:s0
# System_suspend
genfscon sysfs /devices/platform/10d50000.hsi2c/i2c-5/5-0069/power_supply/main-charger/wakeup u:object_r:sysfs_wakeup:s0