sm6375-common: Address rhodep vibrator denials
Change-Id: Ia9d5e0ec5a808f6f82ca36e8c8273b94c6961f09
This commit is contained in:
parent
dddd2bc8c5
commit
5b907a19e0
2 changed files with 2 additions and 1 deletions
1
sepolicy/vendor/file_contexts
vendored
1
sepolicy/vendor/file_contexts
vendored
|
@ -117,6 +117,7 @@
|
|||
|
||||
# Vibrator
|
||||
/sys/devices/platform/soc/990000.i2c/i2c-1/1-005a/leds/vibrator(/.*)? u:object_r:vendor_sysfs_vibrator:s0
|
||||
/sys/devices/platform/soc/soc:ldo_vib/leds/vibrator(/.*)? u:object_r:vendor_sysfs_vibrator:s0
|
||||
|
||||
# Wakeups
|
||||
/sys/devices/virtual/input/input[0-9]+/wakeup[0-9]+(/.*)? u:object_r:sysfs_wakeup:s0
|
||||
|
|
2
sepolicy/vendor/genfs_contexts
vendored
2
sepolicy/vendor/genfs_contexts
vendored
|
@ -71,7 +71,7 @@ genfscon sysfs /devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.[01]
|
|||
|
||||
# Vibrator
|
||||
genfscon sysfs /devices/platform/soc/984000.i2c/i2c-0/0-005a/leds/vibrator u:object_r:sysfs_vibrator:s0
|
||||
genfscon sysfs /sys/devices/platform/soc/soc:ldo_vib/leds/vibrator(/.*)? u:object_r:vendor_sysfs_vibrator:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:ldo_vib/leds/vibrator u:object_r:vendor_sysfs_vibrator:s0
|
||||
|
||||
# Wakeup
|
||||
genfscon sysfs /devices/platform/soc/984000.i2c/i2c-0/0-005a/wakeup/wakeup u:object_r:sysfs_wakeup:s0
|
||||
|
|
Loading…
Reference in a new issue