From 312d1673987a44c7bf3261c14cce8b5881433f12 Mon Sep 17 00:00:00 2001 From: MD Raza Date: Tue, 28 Nov 2023 14:50:06 +0530 Subject: [PATCH] sm6225-common: sepolicy: Add rules for goodix_fp Signed-off-by: MD Raza Change-Id: I3e713e83e967cc8d3edfe01895fdb929da22bab9 --- sepolicy/vendor/file_contexts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index 6375814..729449b 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -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