Merge "[ALPS03806577] add DropBoxReceiver feature" into alps-trunk-q0.basic

Change-Id: I876e115e17378f7f9978c51d51283b77ae210268
MTK-Commit-Id: e8bc82cbeff2e189a1aed8cc2346607a1f94cd31
This commit is contained in:
Larry Liang 2020-01-18 10:13:17 +08:00 committed by Gerrit Code Review
commit 800af6c731
3 changed files with 17 additions and 1 deletions

View File

@ -132,3 +132,12 @@ userdebug_or_eng(`allow aee_aed debugfs_tracing_debug:file { write open };')
# Purpose: Allow aee_aed to read/write /sys/kernel/debug/tracing/tracing_on
#userdebug_or_eng(` allow aee_aed debugfs_tracing:file { r_file_perms write };')
# Purpose: receive dropbox message
allow aee_aed dropbox_data_file:file {getattr read};
allow aee_aed dropbox_service:service_manager find;
allow aee_aed servicemanager:binder call;
allow aee_aed system_server:binder call;
# Purpose: allow aee_aed to read packages.list
allow aee_aed packages_list_file:file r_file_perms;

View File

@ -15,3 +15,6 @@ allow system_app media_rw_data_file:file {r_file_perms w_file_perms};
#Dat: 2017/07/13
#Purpose: allow system app to read/open system data file
allow system_app system_data_file:dir { read open };
# Purpose: receive dropbox message
allow system_app aee_aed:unix_stream_socket connectto;

View File

@ -3,3 +3,7 @@
dontaudit system_server appdomain:file w_file_perms;
allow system_server ota_package_file:dir getattr;
allow uncrypt uncrypt:capability fowner;
# Purpose: receive dropbox message
allow system_server aee_aed:fifo_file w_file_perms;
allow system_server aee_aed:fd use;