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:
parent
7a3817d8ea
commit
02a0a16867
4 changed files with 7 additions and 0 deletions
3
vendor/common/file.te
vendored
3
vendor/common/file.te
vendored
|
@ -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;
|
||||
|
|
1
vendor/common/file_contexts
vendored
1
vendor/common/file_contexts
vendored
|
@ -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
|
||||
|
|
2
vendor/common/tee.te
vendored
2
vendor/common/tee.te
vendored
|
@ -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;
|
||||
|
|
1
vendor/common/vendor_init.te
vendored
1
vendor/common/vendor_init.te
vendored
|
@ -70,4 +70,5 @@ allow vendor_init {
|
|||
nfc_data_file
|
||||
system_data_file
|
||||
tombstone_data_file
|
||||
vendor_tui_data_file
|
||||
}:dir create_dir_perms;
|
||||
|
|
Loading…
Reference in a new issue