sepolicy: Moved TUI files from /data/misc/qsee to /data/vendor/tui/

-Added permissions for accessing the files

Change-Id: Id23cef4caadefae5f0db47e786ca90ad53bf938e
This commit is contained in:
Amit P Choudhari 2018-04-23 16:49:45 +05:30
parent 7a3817d8ea
commit 02a0a16867
4 changed files with 7 additions and 0 deletions

View file

@ -124,3 +124,6 @@ type tlocd_data_file, file_type, data_file_type;
#qseecom
type data_qsee_file, file_type, data_file_type;
#TUI Files
type vendor_tui_data_file, file_type, data_file_type;

View file

@ -208,6 +208,7 @@
/data/vendor/tloc(/.*)? u:object_r:tlocd_data_file:s0
/data/vendor/connectivity(/.*)? u:object_r:cnd_data_file:s0
/data/vendor/misc/qsee(/.*)? u:object_r:data_qsee_file:s0
/data/vendor/tui(/.*)? u:object_r:vendor_tui_data_file:s0
# audio_data_file

View file

@ -27,3 +27,5 @@ vndbinder_use(tee);
allow tee qdisplay_service:service_manager find;
hal_client_domain(tee, hal_graphics_composer);
allow tee sysfs_sectouch:file rw_file_perms;
allow tee vendor_tui_data_file:file rw_file_perms;
allow tee vendor_tui_data_file:dir search;

View file

@ -70,4 +70,5 @@ allow vendor_init {
nfc_data_file
system_data_file
tombstone_data_file
vendor_tui_data_file
}:dir create_dir_perms;