Merge "[ALPS03906515] wmt: fix coredump feature" into alps-trunk-p0.basic

Change-Id: I4b8707452b181801cc7489af7aa07265dbf1f110
MTK-Commit-Id: cd264e39bc11bdd42052611c3f8b51f649509321
This commit is contained in:
Max Huang 2020-01-18 09:46:26 +08:00 committed by Gerrit Code Review
commit 67aec004b6
2 changed files with 3 additions and 1 deletions

View File

@ -61,6 +61,7 @@
/data/vendor/powerhal(/.*)? u:object_r:mtk_powerhal_data_file:s0
#/data/vendor/nfc(/.*)? u:object_r:nfc_data_file:s0
/data/vendor/connsyslog(/.*)? u:object_r:consyslog_data_file:s0
/data/vendor/stp_dump(/.*)? u:object_r:stp_dump_data_file:s0
# Misc data
#/data/misc/acdapi(/.*)? u:object_r:acdapi_data_file:s0
@ -68,7 +69,6 @@
#/data/misc/ppp(/.*)? u:object_r:ppp_data_file:s0
#/data/misc/radvd(/.*)? u:object_r:radvd_data_file:s0
#/data/misc/sensor(/.*)? u:object_r:sensor_data_file:s0
#/data/misc/stp_dump(/.*)? u:object_r:stp_dump_data_file:s0
#/data/misc/wpa_supplicant(/.*)? u:object_r:wpa_supplicant_data_file:s0
# Wallpaper file for smartbook

View File

@ -34,4 +34,6 @@ allow stp_dump3 sdcard_type:dir search;
allow stp_dump3 sdcard_type:dir {open read write create setattr getattr add_name remove_name search};
allow stp_dump3 sdcard_type:file { open read write create setattr getattr append unlink rename};
allow stp_dump3 sdcard_type:file create_file_perms;
allow stp_dump3 stp_dump_data_file:dir create_dir_perms;
allow stp_dump3 stp_dump_data_file:file create_file_perms;
init_daemon_domain(stp_dump3)