summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sepolicy/vendor/file.te1
-rw-r--r--sepolicy/vendor/file_contexts10
-rw-r--r--sepolicy/vendor/hal_fingerprint_sdm660.te1
3 files changed, 5 insertions, 7 deletions
diff --git a/sepolicy/vendor/file.te b/sepolicy/vendor/file.te
index 2ca38b9..7b6a527 100644
--- a/sepolicy/vendor/file.te
+++ b/sepolicy/vendor/file.te
@@ -1,7 +1,6 @@
type debugfs_wlan, debugfs_type, fs_type;
type ir_dev_file, file_type;
type proc_dt2w, fs_type, proc_type;
-type fingerprint_data_file, file_type, data_file_type, core_data_file_type;
type fingerprint_sysfs, fs_type, sysfs_type;
type vendor_keylayout_file, file_type, vendor_file_type;
type sysfs_light, fs_type, sysfs_type;
diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts
index 81d9822..5189929 100644
--- a/sepolicy/vendor/file_contexts
+++ b/sepolicy/vendor/file_contexts
@@ -8,13 +8,13 @@
/dev/goodix_fp* u:object_r:fingerprint_device:s0
# Goodix Fingerprint data
-/data/gf_data/frr_database.db u:object_r:fingerprint_data_file:s0
-/data/misc/gf_data(/.*)? u:object_r:fingerprint_data_file:s0
-/data/misc/goodix(/.*)? u:object_r:fingerprint_data_file:s0
-/persist/data/gf* u:object_r:fingerprint_data_file:s0
+/data/gf_data/frr_database.db u:object_r:fingerprintd_data_file:s0
+/data/misc/gf_data(/.*)? u:object_r:fingerprintd_data_file:s0
+/data/misc/goodix(/.*)? u:object_r:fingerprintd_data_file:s0
+/persist/data/gf* u:object_r:fingerprintd_data_file:s0
# Fpc Fingerprint data
-/persist/fpc(/.*)? u:object_r:fingerprint_data_file:s0
+/persist/fpc(/.*)? u:object_r:fingerprintd_data_file:s0
# HVDCP
/sys/devices(/platform)?/soc/[a-z0-9]+\.i2c/i2c-[0-9]+/[0-9]+-[a-z0-9]+/[a-z0-9]+\.i2c:qcom,[a-z0-9]+@[a-z0-9]:qcom,smb[a-z0-9]+-parallel-slave@[0-9]+/power_supply/parallel(/.*)? u:object_r:sysfs_usb_supply:s0
diff --git a/sepolicy/vendor/hal_fingerprint_sdm660.te b/sepolicy/vendor/hal_fingerprint_sdm660.te
index 57cc91e..0bbf9d7 100644
--- a/sepolicy/vendor/hal_fingerprint_sdm660.te
+++ b/sepolicy/vendor/hal_fingerprint_sdm660.te
@@ -8,7 +8,6 @@ init_daemon_domain(hal_fingerprint_sdm660)
allow hal_fingerprint_sdm660 fingerprint_device:chr_file { read write open ioctl };
allow hal_fingerprint_sdm660 { tee_device uhid_device }:chr_file { read write open ioctl };
-allow hal_fingerprint_sdm660 fingerprint_data_file:file rw_file_perms;
allow hal_fingerprint_sdm660 fingerprintd_data_file:dir rw_dir_perms;
allow hal_fingerprint_sdm660 fingerprintd_data_file:file create_file_perms;
allow hal_fingerprint_sdm660 { fuse mnt_user_file storage_file }:dir search;