sm6225-common: sepolicy: Add rules for goodix_fp

Signed-off-by: MD Raza <raza231198@gmail.com>
Change-Id: I3e713e83e967cc8d3edfe01895fdb929da22bab9
This commit is contained in:
MD Raza 2023-11-28 14:50:06 +05:30 committed by Michael Bestas
parent 352ecd337f
commit 312d167398

View file

@ -37,16 +37,20 @@
# Fingerprint
/(mnt/vendor/persist|persist)/egis(/.*)? u:object_r:vendor_persist_fps_file:s0
/(mnt/vendor/persist|persist)/fps(/.*)? u:object_r:vendor_persist_fps_file:s0
/(mnt/vendor/persist|persist)/goodix(/.*)? u:object_r:vendor_persist_fps_file:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-focalservice u:object_r:hal_fingerprint_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-goodixservice u:object_r:hal_fingerprint_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service-chipone u:object_r:hal_fingerprint_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service-ets u:object_r:hal_fingerprint_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service-fpc u:object_r:hal_fingerprint_default_exec:s0
/data/vendor/.fps(/.*)? u:object_r:fingerprint_vendor_data_file:s0
/data/vendor/focaltech(/.*)? u:object_r:fingerprint_vendor_data_file:s0
/data/vendor/fpc(/.*)? u:object_r:fingerprint_vendor_data_file:s0
/data/vendor/gf_data(/.*)? u:object_r:fingerprint_vendor_data_file:s0
/dev/esfp0 u:object_r:fps_device:s0
/dev/focaltech_fp u:object_r:fps_device:s0
/dev/fpsensor u:object_r:fps_device:s0
/dev/goodix_fp u:object_r:fps_device:s0
# Lights
/(vendor|system/vendor)/bin/hw/android\.hardware\.lights-service\.bengal u:object_r:hal_light_default_exec:s0