Merge "label missing vibrator sys nodes" into sc-dev am: 3f6e2bba41

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13908553

Change-Id: I7f44920dd91712c201a8fc55d15ee89ab405dcbb
This commit is contained in:
Adam Shih 2021-03-19 06:05:41 +00:00 committed by Automerger Merge Worker
commit 42bd5867e8
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