Update the cs40l26a i2c device node sepolicy labeling
This change needs to be merged with the corresponding kernel change that sets the i2c bus aliases correctly to match the existing v5.10 bus probe ordering. To verify the sepolicy labeling doesn't change, run the below commands and diff the stdout on builds with and without the changes. For extra credit, verify the nodes are labeled the same when upgrading the kernel to v6.1 (with the correct i2c aliases to match the existing policy): acpm_bus_array=("acpm_mfd_bus@17500000" "acpm_mfd_bus@17510000") for bus in ${acpm_bus_array[@]}; do adb shell ls -ZR /sys/devices/platform/${bus}/i2c-*; done bus_array=("10960000" "10970000" "10d50000" "10900000") for bus in ${bus_array[@]}; do adb shell ls -ZR /sys/devices/platform/${bus}.hsi2c/i2c-*; done Test: verify on b3 Bug: 291606723 Change-Id: I36e41d7e2379b731c2092a679dc4e4042e0d3651
This commit is contained in:
parent
7595c2dae8
commit
ccdd975a88
1 changed files with 1 additions and 8 deletions
|
@ -1,13 +1,6 @@
|
|||
# Haptics
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-0/i2c-cs40l26a u:object_r:sysfs_vibrator:s0
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-1/i2c-cs40l26a u:object_r:sysfs_vibrator:s0
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-2/i2c-cs40l26a u:object_r:sysfs_vibrator:s0
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-3/i2c-cs40l26a u:object_r:sysfs_vibrator:s0
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/i2c-cs40l26a u:object_r:sysfs_vibrator:s0
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-5/i2c-cs40l26a u:object_r:sysfs_vibrator:s0
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-6/i2c-cs40l26a u:object_r:sysfs_vibrator:s0
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-7/i2c-cs40l26a u:object_r:sysfs_vibrator:s0
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-8/i2c-cs40l26a u:object_r:sysfs_vibrator:s0
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-7/7-0043 u:object_r:sysfs_vibrator:s0
|
||||
|
||||
# Storage
|
||||
genfscon sysfs /devices/platform/14700000.ufs/vendor u:object_r:sysfs_scsi_devices_0000:s0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue