Allow dumpstate to access touch vendor nodes am: b1d4e8ab2f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/20305443 Change-Id: I0b297e88ad40f6bba61423e203be01297b486ebb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
1d9860e41c
2 changed files with 11 additions and 0 deletions
6
vendor/genfs_contexts
vendored
6
vendor/genfs_contexts
vendored
|
@ -35,3 +35,9 @@ genfscon sysfs /devices/platform/10da0000.hsi2c/i2c-7/7-0036/power_supply/maxfg_
|
|||
genfscon sysfs /devices/platform/10da0000.hsi2c/i2c-7/i2c-p9222/power_supply/wireless/wakeup u:object_r:sysfs_wakeup:s0
|
||||
genfscon sysfs /devices/platform/10da0000.hsi2c/i2c-7/i2c-p9222/wakeup u:object_r:sysfs_wakeup:s0
|
||||
genfscon sysfs /devices/platform/google,dual_batt_gauge/power_supply/dualbatt/wakeup u:object_r:sysfs_wakeup:s0
|
||||
|
||||
#Touch
|
||||
genfscon sysfs /devices/platform/10d10000.spi/spi_master/spi0/spi0.0 u:object_r:sysfs_touch:s0
|
||||
genfscon sysfs /devices/platform/10950000.spi/spi_master/spi6/spi6.0 u:object_r:sysfs_touch:s0
|
||||
genfscon proc /fts/driver_test u:object_r:proc_touch:s0
|
||||
genfscon proc /fts_ext/driver_test u:object_r:proc_touch:s0
|
||||
|
|
5
vendor/hal_dumpstate_default.te
vendored
Normal file
5
vendor/hal_dumpstate_default.te
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
allow hal_dumpstate_default sysfs_touch:dir r_dir_perms;
|
||||
allow hal_dumpstate_default sysfs_touch:file rw_file_perms;
|
||||
|
||||
allow hal_dumpstate_default proc_touch:dir r_dir_perms;
|
||||
allow hal_dumpstate_default proc_touch:file rw_file_perms;
|
Loading…
Add table
Add a link
Reference in a new issue