sdm660-common: sepolicy: Resolve init_fingerprint denials
Change-Id: Id82f4c6440aeed6a7be6182792c40513102c9f28 Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
This commit is contained in:
parent
50ae11d634
commit
06d687c9db
2 changed files with 2 additions and 2 deletions
2
sepolicy/vendor/file_contexts
vendored
2
sepolicy/vendor/file_contexts
vendored
|
@ -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
|
||||
|
|
2
sepolicy/vendor/init_fingerprint.te
vendored
2
sepolicy/vendor/init_fingerprint.te
vendored
|
@ -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 };
|
Loading…
Reference in a new issue