Merge "sepolicy_vndr: add sepolicies for trusteduilistener"

This commit is contained in:
qctecmdr 2021-11-26 03:07:45 -08:00 committed by Gerrit - the friendly Code Review server
commit f9a31d124f
3 changed files with 4 additions and 0 deletions

View file

@ -26,4 +26,5 @@
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
binder_call(vendor_systemhelper_app, vendor_hal_trustedui_qti)
binder_call(vendor_systemhelper_app, vendor_trusteduilistener)
hal_client_domain(vendor_systemhelper_app, vendor_hal_perf)

View file

@ -54,3 +54,5 @@ allow vendor_trusteduilistener sysfs:dir { open read };
allow vendor_trusteduilistener vendor_sysfs_trusted_touch_enable:file rw_file_perms;
allow vendor_trusteduilistener vendor_sysfs_trusted_touch_event:file rw_file_perms;
allow vendor_trusteduilistener vendor_sysfs_trusted_touch_type:file rw_file_perms;
binder_call(vendor_trusteduilistener, vendor_systemhelper_app)

View file

@ -203,6 +203,7 @@ genfscon sysfs /devices/platform/soc/990000.i2c/i2c-0/0-0038/trusted_touch_event
#genfscon sysfs /devices/platform/soc/988000.i2c/i2c-1/1-0038/trusted_touch_event u:object_r:vendor_sysfs_trusted_touch_event:s0
genfscon sysfs /devices/platform/soc/990000.spi/spi_master/spi0/spi0.0/trusted_touch_event u:object_r:vendor_sysfs_trusted_touch_event:s0
genfscon sysfs /devices/platform/soc/990000.i2c/i2c-0/0-0038/trusted_touch_type u:object_r:vendor_sysfs_trusted_touch_type:s0
genfscon sysfs /devices/platform/soc/990000.spi/spi_master/spi0/spi0.0/trusted_touch_type u:object_r:vendor_sysfs_trusted_touch_type:s0
# Feature configs for Cedros
genfscon sysfs /devices/platform/soc/soc:qfprom@0/feat_conf_m7 u:object_r:vendor_sysfs_qfprom:s0