sdm660-common: sepolicy: Resolve init_fingerprint denials

Change-Id: Id82f4c6440aeed6a7be6182792c40513102c9f28
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
This commit is contained in:
Artem Borisov 2018-12-31 22:56:20 +04:00 committed by Max Weffers
parent 50ae11d634
commit 06d687c9db
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
# FPC Fingerprint
/data/vendor/fpc(/.*)? u:object_r:fingerprint_vendor_data_file:s0
/persist/fpc(/.*)? u:object_r:persist_fingerprint_file:s0
/(mnt/vendor)/persist/fpc(/.*)? u:object_r:persist_fingerprint_file:s0
/sys/devices/soc/soc:fpc1020(/.*)? u:object_r:fingerprint_sysfs:s0
# HVDCP

View file

@ -9,6 +9,6 @@ allow init_fingerprint vendor_shell_exec:file rx_file_perms;
allow init_fingerprint vendor_toolbox_exec:file rx_file_perms;
# Allow to delete file
allow init_fingerprint persist_file:dir search;
allow init_fingerprint mnt_vendor_file:dir search;
allow init_fingerprint persist_drm_file:dir { read search open write remove_name };
allow init_fingerprint persist_drm_file:file { getattr unlink };