aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/vendor/file_contexts
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/vendor/file_contexts')
-rw-r--r--sepolicy/vendor/file_contexts12
1 files changed, 8 insertions, 4 deletions
diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts
index 7475fab..dda8a34 100644
--- a/sepolicy/vendor/file_contexts
+++ b/sepolicy/vendor/file_contexts
@@ -21,20 +21,24 @@
/mnt/vendor/dsp/fastrpc_shell_3 u:object_r:public_adsprpcd_file:s0
# Fingerprint
+/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2.3-service\.xiaomi_holi u:object_r:hal_fingerprint_default_exec:s0
+/vendor/bin/hw/vendor\.silead\.hardware\.fingerprintext@1\.0-service u:object_r:hal_fingerprint_default_exec:s0
+
+# Fingerprint devices
/dev/goodix_fp u:object_r:vendor_fingerprint_device:s0
/dev/silead_fp u:object_r:vendor_fingerprint_device:s0
/dev/silead_s.* u:object_r:vendor_fingerprint_device:s0
/dev/silead_stub u:object_r:vendor_fingerprint_device:s0
/dev/spidev.* u:object_r:vendor_fingerprint_device:s0
-/mnt/vendor/persist/silead(/.*)? u:object_r:vendor_fingerprint_data_file:s0
-/mnt/vendor/persist/goodix(/.*)? u:object_r:vendor_fingerprint_data_file:s0
+
+# Fingerprint data
/data/vendor/fpc(/.*)? u:object_r:vendor_fingerprint_data_file:s0
/data/vendor/fpdump(/.*)? u:object_r:vendor_fingerprint_data_file:s0
/data/vendor/goodix(/.*)? u:object_r:vendor_fingerprint_data_file:s0
/data/vendor/goodix/gf_data(/.*)? u:object_r:vendor_fingerprint_data_file:s0
/data/vendor/silead(/.*)? u:object_r:vendor_fingerprint_data_file:s0
-/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2.1-service\.xiaomi_holi u:object_r:hal_fingerprint_default_exec:s0
-/vendor/bin/hw/vendor\.silead\.hardware\.fingerprintext@1\.0-service u:object_r:hal_fingerprint_default_exec:s0
+/mnt/vendor/persist/silead(/.*)? u:object_r:vendor_fingerprint_data_file:s0
+/mnt/vendor/persist/goodix(/.*)? u:object_r:vendor_fingerprint_data_file:s0
# IR
/dev/ir_spi u:object_r:ir_spi_device:s0