sm6225-common: sepolicy: Use same label for all fps device
Change-Id: Ib6551e19adcb188991846bac75ad637f0225e5a7
This commit is contained in:
parent
156ea9a868
commit
d94b7581e5
3 changed files with 5 additions and 9 deletions
4
sepolicy/vendor/device.te
vendored
4
sepolicy/vendor/device.te
vendored
|
@ -1,7 +1,5 @@
|
|||
# Fingerprint
|
||||
type etsd_device, dev_type;
|
||||
type focaltech_fp_device, dev_type;
|
||||
type fpsensor_device, dev_type;
|
||||
type fps_device, dev_type;
|
||||
|
||||
# Moto partitions
|
||||
type vendor_hw_block_device, dev_type;
|
||||
|
|
6
sepolicy/vendor/file_contexts
vendored
6
sepolicy/vendor/file_contexts
vendored
|
@ -43,9 +43,9 @@
|
|||
/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
|
||||
/dev/esfp0 u:object_r:etsd_device:s0
|
||||
/dev/focaltech_fp u:object_r:focaltech_fp_device:s0
|
||||
/dev/fpsensor u:object_r:fpsensor_device: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
|
||||
|
||||
# Motobox
|
||||
/(vendor|system/vendor)/bin/motobox u:object_r:vendor_motobox_exec:s0
|
||||
|
|
4
sepolicy/vendor/hal_fingerprint_default.te
vendored
4
sepolicy/vendor/hal_fingerprint_default.te
vendored
|
@ -1,7 +1,5 @@
|
|||
allow hal_fingerprint_default {
|
||||
etsd_device
|
||||
focaltech_fp_device
|
||||
fpsensor_device
|
||||
fps_device
|
||||
tee_device
|
||||
}: chr_file rw_file_perms;
|
||||
|
||||
|
|
Loading…
Reference in a new issue