vendor_init: Fix touch avc denial of high_sensitivity.[DO NOT MERGE] am: 296823785d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17229066 Change-Id: I5fd10c80b5a1911818334615c4c900b858a4dae7
This commit is contained in:
commit
ae166c90eb
3 changed files with 9 additions and 2 deletions
|
@ -93,4 +93,7 @@ type sysfs_st33spi, sysfs_type, fs_type;
|
||||||
type sysfs_gpu, sysfs_type, fs_type;
|
type sysfs_gpu, sysfs_type, fs_type;
|
||||||
|
|
||||||
# USB-C throttling stats
|
# USB-C throttling stats
|
||||||
type sysfs_usbc_throttling_stats, sysfs_type, fs_type;
|
type sysfs_usbc_throttling_stats, sysfs_type, fs_type;
|
||||||
|
|
||||||
|
# Touch
|
||||||
|
type proc_touch, proc_type, fs_type;
|
|
@ -29,7 +29,8 @@ genfscon sysfs /devices/soc0/revision u
|
||||||
|
|
||||||
# Touch
|
# Touch
|
||||||
genfscon sysfs /devices/platform/10d10000.spi/spi_master/spi0/spi0.0/synaptics_tcm.0/sysfs u:object_r:sysfs_touch:s0
|
genfscon sysfs /devices/platform/10d10000.spi/spi_master/spi0/spi0.0/synaptics_tcm.0/sysfs u:object_r:sysfs_touch:s0
|
||||||
genfscon sysfs /devices/virtual/sec/tsp u:object_r:sysfs_touch:s0
|
genfscon sysfs /devices/virtual/sec/tsp u:object_r:sysfs_touch:s0
|
||||||
|
genfscon proc /focaltech_touch u:object_r:proc_touch:s0
|
||||||
|
|
||||||
# tracefs
|
# tracefs
|
||||||
genfscon tracefs /events/dmabuf_heap/dma_heap_stat u:object_r:debugfs_tracing:s0
|
genfscon tracefs /events/dmabuf_heap/dma_heap_stat u:object_r:debugfs_tracing:s0
|
||||||
|
|
|
@ -23,3 +23,6 @@ allow vendor_init sysfs_st33spi:file w_file_perms;
|
||||||
|
|
||||||
# Fingerprint property
|
# Fingerprint property
|
||||||
set_prop(vendor_init, vendor_fingerprint_prop)
|
set_prop(vendor_init, vendor_fingerprint_prop)
|
||||||
|
|
||||||
|
# Touch
|
||||||
|
allow vendor_init proc_touch:file w_file_perms;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue