sm6375-common: sepolicy: Allow init (recovery) to access USB sysfs
Add genfs contexts for USB sysfs entry that control the operational mode and assign them as vendor_sysfs_usb_device type. Change-Id: Ic1f0c5e9237848ac47cebca6e2cbbe9bd25270ad
This commit is contained in:
parent
2753c420ea
commit
e61118e7a9
1 changed files with 3 additions and 0 deletions
3
sepolicy/vendor/genfs_contexts
vendored
3
sepolicy/vendor/genfs_contexts
vendored
|
@ -50,6 +50,9 @@ genfscon sysfs /devices/virtual/touchscreen
|
|||
genfscon sysfs /devices/platform/soc/a94000.i2c/i2c-2/2-0049/touchscreen u:object_r:vendor_sysfs_touchpanel:s0
|
||||
genfscon sysfs /devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0 u:object_r:vendor_sysfs_touchpanel:s0
|
||||
|
||||
# USB
|
||||
genfscon sysfs /devices/platform/soc/4e00000.ssusb/mode u:object_r:vendor_sysfs_usb_device:s0
|
||||
|
||||
# Vibrator
|
||||
genfscon sysfs /devices/platform/soc/984000.i2c/i2c-0/0-005a/leds/vibrator u:object_r:sysfs_vibrator:s0
|
||||
|
||||
|
|
Loading…
Reference in a new issue