sdm660-common: Add sepolicy rule for goodix script

Change-Id: Ic8b7dba6a5660c17f5db1c743e5d22f31ae1b1b3
This commit is contained in:
TheScarastic 2018-07-09 20:46:22 +05:30 committed by Max Weffers
parent 5bf9fe7f2c
commit 71abd10485
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE

View file

@ -1,5 +1,6 @@
type init_fingerprint, domain;
type init_fingerprint_exec, exec_type, vendor_file_type, file_type;
typeattribute init_fingerprint data_between_core_and_vendor_violators;
# Allow for transition from init domain to init_fingerprint
init_daemon_domain(init_fingerprint)
@ -11,4 +12,5 @@ allow init_fingerprint vendor_toolbox_exec:file rx_file_perms;
# Allow to delete file
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 };
allow init_fingerprint persist_drm_file:file { getattr unlink };
allow init_fingerprint system_data_file:file r_file_perms;